8888 "jsx-a11y/control-has-associated-label" : " off" ,
8989 "@next/next/no-img-element" : " off" ,
9090 "react/no-danger" : " off" ,
91- "no-void" : [" error" , { "allowAsStatement" : true }]
91+ "no-void" : [" error" , { "allowAsStatement" : true }],
92+ "no-console" : [" warn" , { "allow" : [" warn" , " error" , " info" ] }],
93+ "no-restricted-syntax" : " off" ,
94+ "no-nested-ternary" : " off" ,
95+ "@typescript-eslint/naming-convention" : [
96+ " error" ,
97+ {
98+ "selector" : " variable" ,
99+ "format" : [" camelCase" , " PascalCase" , " UPPER_CASE" , " snake_case" ],
100+ "leadingUnderscore" : " allow"
101+ },
102+ {
103+ "selector" : " parameter" ,
104+ "format" : [" camelCase" , " PascalCase" , " snake_case" ],
105+ "leadingUnderscore" : " allow"
106+ },
107+ {
108+ "selector" : " property" ,
109+ "format" : null
110+ }
111+ ],
112+ "no-await-in-loop" : " warn" ,
113+ "complexity" : [" warn" , { "max" : 15 }],
114+ "react/button-has-type" : " warn" ,
115+ "react/no-unescaped-entities" : " warn" ,
116+ "react/no-array-index-key" : " warn" ,
117+ "@typescript-eslint/no-shadow" : " warn" ,
118+ "no-plusplus" : " off" ,
119+ "@typescript-eslint/no-use-before-define" : " warn" ,
120+ "jsx-a11y/click-events-have-key-events" : " warn" ,
121+ "jsx-a11y/no-static-element-interactions" : " warn" ,
122+ "jsx-a11y/no-noninteractive-element-interactions" : " warn" ,
123+ "react/destructuring-assignment" : " off" ,
124+ "no-restricted-exports" : " off" ,
125+ "prefer-destructuring" : " off" ,
126+ "no-bitwise" : " warn" ,
127+ "import/no-named-as-default" : " warn" ,
128+ "jsx-a11y/label-has-associated-control" : " warn" ,
129+ "react/no-unknown-property" : " warn" ,
130+ "no-restricted-globals" : " warn" ,
131+ "@typescript-eslint/no-loop-func" : " warn" ,
132+ "import/no-unresolved" : " warn" ,
133+ "import/extensions" : " warn" ,
134+ "react/function-component-definition" : " warn" ,
135+ "react/jsx-no-constructed-context-values" : " warn"
92136 },
93137 "settings" : {
94138 "react" : {
111155 "@typescript-eslint/no-unsafe-member-access" : " off" ,
112156 "@typescript-eslint/no-unsafe-return" : " off"
113157 }
158+ },
159+ {
160+ "files" : [" __tests__/**/*" , " **/*.test.ts" , " **/*.test.tsx" , " **/*.spec.ts" , " **/*.spec.tsx" , " jest.setup.ts" ],
161+ "rules" : {
162+ "import/no-extraneous-dependencies" : " off" ,
163+ "no-console" : " off" ,
164+ "global-require" : " off" ,
165+ "@typescript-eslint/no-var-requires" : " off"
166+ }
114167 }
115168 ]
116169}
0 commit comments