File tree Expand file tree Collapse file tree 1 file changed +11
-9
lines changed Expand file tree Collapse file tree 1 file changed +11
-9
lines changed Original file line number Diff line number Diff line change 3
3
extends :
4
4
- " eslint:recommended"
5
5
- " plugin:@docusaurus/recommended"
6
- - " plugin:@typescript-eslint/recommended"
7
- - " plugin:mdx/recommended"
8
- - " plugin:react/recommended"
9
6
overrides :
10
7
- files :
11
8
- " *.md"
12
9
- " *.mdx"
10
+ extends :
11
+ - " plugin:mdx/recommended"
12
+ - " plugin:react/recommended"
13
13
parser : " eslint-mdx"
14
14
rules :
15
15
no-unused-expressions : " off"
16
16
- files :
17
17
- " *.ts"
18
18
- " *.tsx"
19
+ extends :
20
+ - " plugin:@typescript-eslint/recommended"
21
+ - " plugin:react/recommended"
19
22
parser : " @typescript-eslint/parser"
20
23
parserOptions :
24
+ ecmaFeatures :
25
+ jsx : true
26
+ ecmaVersion : " latest"
21
27
project : " tsconfig.json"
28
+ sourceType : " module"
22
29
plugins :
23
30
- " @typescript-eslint"
24
31
rules :
@@ -30,13 +37,8 @@ overrides:
30
37
- error
31
38
- argsIgnorePattern : ^_
32
39
varsIgnorePattern : ^_
33
- parserOptions :
34
- ecmaFeatures :
35
- jsx : true
36
- ecmaVersion : " latest"
40
+ " react/react-in-jsx-scope " : " off"
37
41
root : true
38
- rules :
39
- " react/react-in-jsx-scope " : " off"
40
42
settings :
41
43
react :
42
44
version : " detect"
You can’t perform that action at this time.
0 commit comments