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 [
189
189
SwitchCase : 1
190
190
}
191
191
] ,
192
- '@stylistic/indent-binary-ops' : [ 'error' , 2 ] ,
192
+ '@stylistic/indent-binary-ops' : 'off' ,
193
193
'@stylistic/jsx-quotes' : [ 'error' , 'prefer-single' ] ,
194
194
'@stylistic/key-spacing' : [
195
195
'error' ,
Original file line number Diff line number Diff line change @@ -35,7 +35,9 @@ export default [
35
35
{
36
36
files : tsFiles ,
37
37
rules : {
38
- 'jsdoc/no-types' : 'warn'
38
+ 'jsdoc/no-types' : 'warn' ,
39
+ 'jsdoc/require-param' : 'off' ,
40
+ 'jsdoc/check-param-names' : 'off'
39
41
}
40
42
}
41
43
]
Original file line number Diff line number Diff line change @@ -104,7 +104,6 @@ export default [
104
104
'@stylistic/jsx-equals-spacing' : 'error' ,
105
105
'@stylistic/jsx-first-prop-new-line' : [ 'error' , 'multiline' ] ,
106
106
'react/jsx-fragments' : 'error' ,
107
- '@stylistic/jsx-indent' : [ 'error' , 2 ] ,
108
107
'@stylistic/jsx-indent-props' : [ 'error' , 2 ] ,
109
108
'react/jsx-key' : 'error' ,
110
109
'@stylistic/jsx-max-props-per-line' : [
Original file line number Diff line number Diff line change 5
5
import typescriptPlugin from '@typescript-eslint/eslint-plugin'
6
6
import stylisticPlugin from '@stylistic/eslint-plugin'
7
7
import { getExtensionRules } from './utils.js'
8
- import { dtsFiles } from './files.js'
8
+ import {
9
+ tsFiles ,
10
+ dtsFiles
11
+ } from './files.js'
9
12
10
13
export default [
11
14
{
@@ -156,7 +159,6 @@ export default [
156
159
allowDefinitionFiles : true
157
160
}
158
161
] ,
159
- '@typescript-eslint/no-require-imports' : 'error' ,
160
162
'@typescript-eslint/no-this-alias' : [
161
163
'error' ,
162
164
{
@@ -187,6 +189,12 @@ export default [
187
189
'@typescript-eslint/no-dupe-class-members' : 'error'
188
190
}
189
191
} ,
192
+ {
193
+ files : tsFiles ,
194
+ rules : {
195
+ '@typescript-eslint/no-require-imports' : 'error'
196
+ }
197
+ } ,
190
198
{
191
199
files : dtsFiles ,
192
200
rules : {
You can’t perform that action at this time.
0 commit comments