@@ -55,14 +55,6 @@ module.exports = {
55
55
'codegen.cjs' ,
56
56
'tsup' ,
57
57
] ,
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,
66
58
overrides : [
67
59
{
68
60
// Setup GraphQL Parser
@@ -87,6 +79,10 @@ module.exports = {
87
79
'@graphql-eslint/no-deprecated' : 'error' ,
88
80
} ,
89
81
} ,
82
+ {
83
+ files : [ '*.cjs' ] ,
84
+ parserOptions : { ecmaVersion : 2020 } ,
85
+ } ,
90
86
{
91
87
files : [ 'packages/**/*.ts' , 'packages/**/*.tsx' , 'cypress/**/*.ts' , 'cypress/**/*.tsx' ] ,
92
88
reportUnusedDisableDirectives : true ,
@@ -189,13 +185,14 @@ module.exports = {
189
185
'import/no-default-export' : 'off' ,
190
186
'@next/next/no-img-element' : 'off' ,
191
187
'@typescript-eslint/ban-types' : 'off' ,
192
- 'react/jsx-key' : 'off' ,
193
188
'jsx-a11y/label-has-associated-control' : 'off' ,
194
189
'jsx-a11y/click-events-have-key-events' : 'off' ,
195
190
'jsx-a11y/no-static-element-interactions' : 'off' ,
196
191
'@next/next/no-html-link-for-pages' : 'off' ,
197
192
'unicorn/no-negated-condition' : 'off' ,
198
193
'no-implicit-coercion' : 'off' ,
194
+
195
+ 'react/jsx-key' : 'warn' ,
199
196
} ,
200
197
} ,
201
198
{
0 commit comments