@@ -58,7 +58,7 @@ const importRules = () => ({
5858 'import/newline-after-import' : 2 ,
5959 'import/no-named-as-default-member' : 0 ,
6060 'import/no-cycle' : [
61- 2 ,
61+ 0 , // disabled if slow
6262 { maxDepth : '∞' , ignoreExternal : false , allowUnsafeDynamicCyclicDependency : false } ,
6363 ] ,
6464} ) ;
@@ -111,7 +111,7 @@ const sortImportsRules = () => {
111111 environment : 'node' ,
112112 maxLineLength : undefined ,
113113 newlinesBetween : 'always' ,
114- internalPattern : [ 'src/** ' ] ,
114+ internalPattern : [ '^ src/.+ ' ] ,
115115 groups : [
116116 'style' ,
117117 'side-effect' ,
@@ -133,14 +133,14 @@ const sortImportsRules = () => {
133133 ] ,
134134 customGroups : {
135135 value : {
136- [ customGroups . mui ] : ' @mui/**' ,
137- [ customGroups . auth ] : ' src/auth/**' ,
138- [ customGroups . hooks ] : ' src/hooks/**' ,
139- [ customGroups . utils ] : ' src/utils/**' ,
140- [ customGroups . types ] : ' src/types/**' ,
141- [ customGroups . routes ] : ' src/routes/**' ,
142- [ customGroups . sections ] : ' src/sections/**' ,
143- [ customGroups . components ] : ' src/components/**' ,
136+ [ customGroups . mui ] : [ '^ @mui/.+' ] ,
137+ [ customGroups . auth ] : [ '^ src/auth/.+' ] ,
138+ [ customGroups . hooks ] : [ '^ src/hooks/.+' ] ,
139+ [ customGroups . utils ] : [ '^ src/utils/.+' ] ,
140+ [ customGroups . types ] : [ '^ src/types/.+' ] ,
141+ [ customGroups . routes ] : [ '^ src/routes/.+' ] ,
142+ [ customGroups . sections ] : [ '^ src/sections/.+' ] ,
143+ [ customGroups . components ] : [ '^ src/components/.+' ] ,
144144 } ,
145145 } ,
146146 } ,
@@ -179,12 +179,8 @@ export const customConfig = {
179179// ----------------------------------------------------------------------
180180
181181export default [
182- {
183- files : [ '**/*.{js,mjs,cjs,ts,jsx,tsx}' ] ,
184- } ,
185- {
186- ignores : [ '*' , '!src/' , 'eslint.config.*' ] ,
187- } ,
182+ { files : [ '**/*.{js,mjs,cjs,ts,jsx,tsx}' ] } ,
183+ { ignores : [ '*' , '!src/' , 'eslint.config.*' ] } ,
188184 {
189185 languageOptions : {
190186 globals : { ...globals . browser , ...globals . node } ,
0 commit comments