File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -21,31 +21,31 @@ const compat = new FlatCompat({
2121} ) ;
2222
2323export default [
24- ...fixupConfigRules ( compat . extends (
25- 'plugin:@stylistic/recommended-extends' ,
26- 'plugin:@typescript-eslint/recommended' ,
27- 'plugin:react/recommended' ,
28- 'plugin:react-hooks/recommended' ,
29- 'plugin:sonarjs/recommended-legacy'
30- ) ) ,
3124 {
32- 'plugins' : {
33- 'hooks' : pluginHooks
34- } ,
3525 'languageOptions' : {
3626 'globals' : {
3727 ...globals . browser ,
3828 ...globals . jest
39- } ,
40- 'parserOptions' : {
41- 'warnOnUnsupportedTypeScriptVersion' : false
4229 }
4330 } ,
31+ 'plugins' : {
32+ 'hooks' : pluginHooks
33+ } ,
4434 'settings' : {
4535 'react' : {
4636 'version' : 'detect'
4737 }
48- } ,
38+ }
39+ } ,
40+ ...fixupConfigRules ( compat . extends (
41+ 'plugin:@stylistic/recommended-extends' ,
42+ 'plugin:@typescript-eslint/recommended' ,
43+ 'plugin:jsx-a11y/recommended' ,
44+ 'plugin:react/recommended' ,
45+ 'plugin:react-hooks/recommended' ,
46+ 'plugin:sonarjs/recommended-legacy'
47+ ) ) ,
48+ {
4949 'rules' : {
5050 'dot-notation' : [
5151 'error' ,
@@ -115,7 +115,7 @@ export default [
115115 ] ,
116116 '@stylistic/indent-binary-ops' : [
117117 'error' ,
118- 2
118+ 4
119119 ] ,
120120 '@stylistic/jsx-closing-bracket-location' : [
121121 'error' ,
You can’t perform that action at this time.
0 commit comments