File tree Expand file tree Collapse file tree 6 files changed +784
-313
lines changed Expand file tree Collapse file tree 6 files changed +784
-313
lines changed Original file line number Diff line number Diff line change 3838 "clean-publish" : " ^5.0.0" ,
3939 "commitizen" : " ^4.3.1" ,
4040 "del-cli" : " ^6.0.0" ,
41- "eslint" : " ^9.0 .0" ,
41+ "eslint" : " 9.31 .0" ,
4242 "inquirer" : " ^9.3.7" ,
4343 "nano-staged" : " ^0.8.0" ,
4444 "npm-package-json-lint" : " ^9.0.0" ,
Original file line number Diff line number Diff line change 5454 },
5555 "dependencies" : {
5656 "@eslint/js" : " ^9.12.0" ,
57- "@stylistic/eslint-plugin" : " ^5.2 .0" ,
57+ "@stylistic/eslint-plugin" : " ^5.5 .0" ,
5858 "@typescript-eslint/eslint-plugin" : " ^8.0.0" ,
5959 "@typescript-eslint/parser" : " ^8.0.0" ,
6060 "eslint-plugin-import" : " ^2.30.0" ,
6161 "eslint-plugin-jest" : " ^29.0.1" ,
6262 "eslint-plugin-jest-dom" : " ^5.4.0" ,
63- "eslint-plugin-jsdoc" : " ^51.3.3 " ,
63+ "eslint-plugin-jsdoc" : " ^61.2.1 " ,
6464 "eslint-plugin-react" : " ^7.35.0" ,
65- "eslint-plugin-react-hooks" : " ^5.2.0 " ,
65+ "eslint-plugin-react-hooks" : " ^7.0.1 " ,
6666 "eslint-plugin-testing-library" : " ^7.5.3" ,
6767 "globals" : " ^16.3.0" ,
6868 "typescript-eslint" : " ^8.35.1"
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ export default [
2828 {
2929 nestedBinaryExpressions : false ,
3030 ignoreJSX : 'multi-line' ,
31- enforceForArrowConditionals : false ,
31+ ignoredNodes : [ 'ArrowFunctionExpression[body.type=ConditionalExpression]' ] ,
3232 enforceForSequenceExpressions : false
3333 }
3434 ] ,
@@ -148,16 +148,14 @@ export default [
148148 // Stylistic Issues
149149 '@stylistic/array-bracket-newline' : [
150150 'error' ,
151- {
152- multiline : true
153- }
151+ 'consistent'
154152 ] ,
155153 '@stylistic/array-bracket-spacing' : [ 'error' , 'never' ] ,
156154 '@stylistic/array-element-newline' : [
157155 'error' ,
158156 {
159- multiline : true ,
160- minItems : 3
157+ consistent : true ,
158+ multiline : true
161159 }
162160 ] ,
163161 '@stylistic/block-spacing' : 'error' ,
Original file line number Diff line number Diff line change @@ -112,7 +112,6 @@ export default [
112112 maximum : 1
113113 }
114114 ] ,
115- '@stylistic/jsx-props-no-multi-spaces' : 'error' ,
116115 '@stylistic/jsx-self-closing-comp' : 'error' ,
117116 'react/jsx-no-bind' : 'error' ,
118117 'react/jsx-no-comment-textnodes' : 'error' ,
Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ import {
1212
1313export default [
1414 {
15+ files : tsFiles ,
1516 plugins : {
1617 '@typescript-eslint' : typescriptPlugin ,
1718 '@stylistic' : stylisticPlugin
@@ -159,7 +160,7 @@ export default [
159160 allowDefinitionFiles : true
160161 }
161162 ] ,
162- '@typescript-eslint/no-require-imports' : 'off ' ,
163+ '@typescript-eslint/no-require-imports' : 'error ' ,
163164 '@typescript-eslint/no-this-alias' : [
164165 'error' ,
165166 {
@@ -190,12 +191,6 @@ export default [
190191 '@typescript-eslint/no-dupe-class-members' : 'error'
191192 }
192193 } ,
193- {
194- files : tsFiles ,
195- rules : {
196- '@typescript-eslint/no-require-imports' : 'error'
197- }
198- } ,
199194 {
200195 files : dtsFiles ,
201196 rules : {
You can’t perform that action at this time.
0 commit comments