@@ -14,10 +14,9 @@ module.exports = {
1414 'plugin:import/warnings' ,
1515 'plugin:import/typescript' ,
1616 'plugin:@typescript-eslint/recommended' ,
17- 'prettier/react' ,
18- 'prettier/@typescript-eslint'
17+ 'prettier' ,
1918 ] ,
20- plugins : [ '@typescript-eslint' , 'security' , 'react' , 'unused-imports' ] ,
19+ plugins : [ '@typescript-eslint' , 'security' , 'react' ] ,
2120 parserOptions : {
2221 tsconfigRootDir : __dirname ,
2322 project : './tsconfig.json' ,
@@ -65,7 +64,7 @@ module.exports = {
6564 pathGroups : [
6665 { pattern : '{react,next,next/**,gatsby}' , group : 'builtin' , position : 'before' , parserOptions : { "matchBase" : true } } ,
6766 {
68- pattern : '@material-ui /**' ,
67+ pattern : '@mui /**' ,
6968 group : 'external' ,
7069 position : 'after'
7170 } ,
@@ -77,13 +76,13 @@ module.exports = {
7776 } ,
7877 //
7978 {
80- pattern : '~/{hooks,contexts,state,services,utils,validation,schemas,utilities }/**' ,
79+ pattern : '~/{hooks,contexts,state,services,utils,validation}/**' ,
8180 group : 'external' ,
8281 position : 'after'
8382 } ,
8483 // Assets and static data
8584 {
86- pattern : '~/{assets,static,styles,theme,i18n,data,constants }/**' ,
85+ pattern : '~/{assets,static,styles,theme,i18n,data}/**' ,
8786 group : 'external' ,
8887 position : 'after'
8988 } ,
@@ -98,9 +97,7 @@ module.exports = {
9897 }
9998 ] ,
10099 'import/named' : 'off' ,
101- 'unused-imports/no-unused-imports' : 'warn' ,
102100 'no-nested-ternary' : 'off' ,
103- 'jsx-a11y/alt-text' : 'warn' ,
104101 'button-has-type' : 'off' ,
105102 camelcase : 'off' ,
106103
@@ -115,15 +112,6 @@ module.exports = {
115112 '@typescript-eslint/no-unsafe-member-access' : 'off' ,
116113 '@typescript-eslint/ban-ts-ignore' : 'warn' ,
117114 '@typescript-eslint/ban-ts-comment' : 'warn' ,
118- '@typescript-eslint/explicit-module-boundary-types' : 'off' ,
119- '@typescript-eslint/no-unused-vars' : 'off' ,
120- '@typescript-eslint/no-unused-vars-experimental' : [
121- 'error' ,
122- {
123- ignoredNamesRegex : '^_' ,
124- ignoreArgsIfArgsAfterAreUsed : true
125- }
126- ] ,
127115 '@typescript-eslint/explicit-function-return-type' : 'off' ,
128116 '@typescript-eslint/explicit-module-boundary-types' : 'off' ,
129117 '@typescript-eslint/no-use-before-define' : 'off' ,
@@ -162,12 +150,12 @@ module.exports = {
162150 // React
163151 'react/destructuring-assignment' : 'warn' ,
164152 'react/no-array-index-key' : 'warn' ,
165- 'react/jsx-no-duplicate-props' : [ 'error' , { 'ignoreCase' : false } ] ,
153+ // 'react/jsx-no-duplicate-props': ['error', { 'ignoreCase': false }],
166154 'react/jsx-props-no-spreading' : 'off' ,
167155 'react/require-default-props' : 'off' ,
168156 'react/jsx-uses-react' : 'off' ,
169157 'react/react-in-jsx-scope' : 'off' ,
170158 'react/prop-types' : 'off' ,
171159 'react/display-name' : 'off'
172160 }
173- }
161+ }
0 commit comments