@@ -55,14 +55,6 @@ module.exports = {
5555 'codegen.cjs' ,
5656 'tsup' ,
5757 ] ,
58- // parserOptions: {
59- // ecmaVersion: 2020,
60- // sourceType: 'module',
61- // project: ['./tsconfig.eslint.json'],
62- // },
63- // parser: '@typescript-eslint/parser',
64- // plugins: [...guildConfig.plugins, 'hive'],
65- // extends: guildConfig.extends,
6658 overrides : [
6759 {
6860 // Setup GraphQL Parser
@@ -87,6 +79,10 @@ module.exports = {
8779 '@graphql-eslint/no-deprecated' : 'error' ,
8880 } ,
8981 } ,
82+ {
83+ files : [ '*.cjs' ] ,
84+ parserOptions : { ecmaVersion : 2020 } ,
85+ } ,
9086 {
9187 files : [ 'packages/**/*.ts' , 'packages/**/*.tsx' , 'cypress/**/*.ts' , 'cypress/**/*.tsx' ] ,
9288 reportUnusedDisableDirectives : true ,
@@ -189,13 +185,14 @@ module.exports = {
189185 'import/no-default-export' : 'off' ,
190186 '@next/next/no-img-element' : 'off' ,
191187 '@typescript-eslint/ban-types' : 'off' ,
192- 'react/jsx-key' : 'off' ,
193188 'jsx-a11y/label-has-associated-control' : 'off' ,
194189 'jsx-a11y/click-events-have-key-events' : 'off' ,
195190 'jsx-a11y/no-static-element-interactions' : 'off' ,
196191 '@next/next/no-html-link-for-pages' : 'off' ,
197192 'unicorn/no-negated-condition' : 'off' ,
198193 'no-implicit-coercion' : 'off' ,
194+
195+ 'react/jsx-key' : 'warn' ,
199196 } ,
200197 } ,
201198 {
0 commit comments