File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change
1
+ /** @type {import("eslint").Linter.BaseConfig } */
1
2
module . exports = {
2
3
root : true ,
3
4
parser : '@typescript-eslint/parser' ,
@@ -10,20 +11,21 @@ module.exports = {
10
11
'plugin:storybook/recommended' ,
11
12
] ,
12
13
plugins : [ 'svelte3' , '@typescript-eslint' ] ,
13
- ignorePatterns : [ '*.cjs' ] ,
14
14
overrides : [
15
15
{
16
16
files : [ '*.svelte' ] ,
17
17
processor : 'svelte3/svelte3' ,
18
18
} ,
19
19
] ,
20
20
settings : {
21
- 'svelte3/typescript' : ( ) => require ( 'typescript' ) ,
21
+ 'svelte3/typescript' : true ,
22
22
} ,
23
23
parserOptions : {
24
24
sourceType : 'module' ,
25
25
ecmaVersion : 2020 ,
26
26
project : './tsconfig.eslint.json' ,
27
+ tsconfigRootDir : __dirname ,
28
+ extraFileExtensions : [ '.svelte' ] ,
27
29
} ,
28
30
env : {
29
31
browser : true ,
Original file line number Diff line number Diff line change
1
+ /** @type {import("postcss").Postcss } */
1
2
module . exports = {
2
3
plugins : {
3
4
tailwindcss : { } ,
You can’t perform that action at this time.
0 commit comments