File tree Expand file tree Collapse file tree 4 files changed +14
-5
lines changed
packages/eslint-config/src/subconfigs Expand file tree Collapse file tree 4 files changed +14
-5
lines changed Original file line number Diff line number Diff line change @@ -189,7 +189,7 @@ export default [
189189 SwitchCase : 1
190190 }
191191 ] ,
192- '@stylistic/indent-binary-ops' : [ 'error' , 2 ] ,
192+ '@stylistic/indent-binary-ops' : 'off' ,
193193 '@stylistic/jsx-quotes' : [ 'error' , 'prefer-single' ] ,
194194 '@stylistic/key-spacing' : [
195195 'error' ,
Original file line number Diff line number Diff line change @@ -35,7 +35,9 @@ export default [
3535 {
3636 files : tsFiles ,
3737 rules : {
38- 'jsdoc/no-types' : 'warn'
38+ 'jsdoc/no-types' : 'warn' ,
39+ 'jsdoc/require-param' : 'off' ,
40+ 'jsdoc/check-param-names' : 'off'
3941 }
4042 }
4143]
Original file line number Diff line number Diff line change @@ -104,7 +104,6 @@ export default [
104104 '@stylistic/jsx-equals-spacing' : 'error' ,
105105 '@stylistic/jsx-first-prop-new-line' : [ 'error' , 'multiline' ] ,
106106 'react/jsx-fragments' : 'error' ,
107- '@stylistic/jsx-indent' : [ 'error' , 2 ] ,
108107 '@stylistic/jsx-indent-props' : [ 'error' , 2 ] ,
109108 'react/jsx-key' : 'error' ,
110109 '@stylistic/jsx-max-props-per-line' : [
Original file line number Diff line number Diff line change 55import typescriptPlugin from '@typescript-eslint/eslint-plugin'
66import stylisticPlugin from '@stylistic/eslint-plugin'
77import { getExtensionRules } from './utils.js'
8- import { dtsFiles } from './files.js'
8+ import {
9+ tsFiles ,
10+ dtsFiles
11+ } from './files.js'
912
1013export default [
1114 {
@@ -156,7 +159,6 @@ export default [
156159 allowDefinitionFiles : true
157160 }
158161 ] ,
159- '@typescript-eslint/no-require-imports' : 'error' ,
160162 '@typescript-eslint/no-this-alias' : [
161163 'error' ,
162164 {
@@ -187,6 +189,12 @@ export default [
187189 '@typescript-eslint/no-dupe-class-members' : 'error'
188190 }
189191 } ,
192+ {
193+ files : tsFiles ,
194+ rules : {
195+ '@typescript-eslint/no-require-imports' : 'error'
196+ }
197+ } ,
190198 {
191199 files : dtsFiles ,
192200 rules : {
You can’t perform that action at this time.
0 commit comments