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 = {
1313 'plugin:sonarjs/recommended' ,
1414 'plugin:@eslint-community/eslint-comments/recommended'
1515 ] ,
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- } ,
2116 overrides : [
2217 // For JavaScript
2318 {
@@ -29,7 +24,12 @@ const config = {
2924 ] ,
3025 extends : [
3126 '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+ }
3333 } ,
3434 // For TypeScript
3535 {
@@ -43,10 +43,7 @@ const config = {
4343 'tsdoc'
4444 ] ,
4545 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'
5047 }
5148 }
5249 ]
You can’t perform that action at this time.
0 commit comments