File tree Expand file tree Collapse file tree 1 file changed +7
-10
lines changed Expand file tree Collapse file tree 1 file changed +7
-10
lines changed Original file line number Diff line number Diff line change @@ -13,11 +13,6 @@ const config = {
13
13
'plugin:sonarjs/recommended' ,
14
14
'plugin:@eslint-community/eslint-comments/recommended'
15
15
] ,
16
- rules : {
17
- // see https://typescript-eslint.io/rules/explicit-function-return-type/#configuring-in-a-mixed-jsts-codebase
18
- // see https://github.com/mightyiam/eslint-config-love/issues/1525
19
- '@typescript-eslint/explicit-function-return-type' : 'off'
20
- } ,
21
16
overrides : [
22
17
// For JavaScript
23
18
{
@@ -29,7 +24,12 @@ const config = {
29
24
] ,
30
25
extends : [
31
26
'plugin:jsdoc/recommended'
32
- ]
27
+ ] ,
28
+ rules : {
29
+ // see https://typescript-eslint.io/rules/explicit-function-return-type/#configuring-in-a-mixed-jsts-codebase
30
+ // see https://github.com/mightyiam/eslint-config-love/issues/1525
31
+ '@typescript-eslint/explicit-function-return-type' : 'off'
32
+ }
33
33
} ,
34
34
// For TypeScript
35
35
{
@@ -43,10 +43,7 @@ const config = {
43
43
'tsdoc'
44
44
] ,
45
45
rules : {
46
- 'tsdoc/syntax' : 'warn' ,
47
- // see https://typescript-eslint.io/rules/explicit-function-return-type/#configuring-in-a-mixed-jsts-codebase
48
- // see https://github.com/mightyiam/eslint-config-love/issues/1525
49
- '@typescript-eslint/explicit-function-return-type' : 'error'
46
+ 'tsdoc/syntax' : 'warn'
50
47
}
51
48
}
52
49
]
You can’t perform that action at this time.
0 commit comments