mirror of
https://github.com/chriswritescode-dev/opencode-manager.git
synced 2026-12-06 12:54:20 +01:00
Update eslint config to warn on existing issues
This commit is contained in:
1 parent
8f1cbfea4b
commit
72bb20a4fa
2 files changed
+4
No files matched your search
@@ -23,6 +23,9 @@ export default defineConfig([
|
|||||||
},
|
},
|
||||||
rules: {
|
rules: {
|
||||||
'no-console': ['warn', { allow: ['warn', 'error'] }],
|
'no-console': ['warn', { allow: ['warn', 'error'] }],
|
||||||
|
'@typescript-eslint/no-explicit-any': 'warn',
|
||||||
|
'@typescript-eslint/no-unused-vars': 'warn',
|
||||||
|
'no-useless-escape': 'warn',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
])
|
])
|
||||||
@@ -21,6 +21,7 @@ export default defineConfig([
|
|||||||
},
|
},
|
||||||
rules: {
|
rules: {
|
||||||
'no-console': ['warn', { allow: ['warn', 'error'] }],
|
'no-console': ['warn', { allow: ['warn', 'error'] }],
|
||||||
|
'react-hooks/exhaustive-deps': 'warn',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in new issue
Block a user