diff options
author | Hsieh Chin Fan <pham@topo.tw> | 2024-09-09 12:58:56 +0800 |
---|---|---|
committer | Hsieh Chin Fan <pham@topo.tw> | 2024-09-09 13:00:07 +0800 |
commit | 316ac023ff91fafca94cddfb59f4d0bce98612cf (patch) | |
tree | 2e2ab6b1f1de3df08360a1f9d939e7d116089532 /eslint.config.js | |
parent | 3cc1e78e2dcda4e703c20e5eb5e503f464373474 (diff) |
chore: Improve eslint
Diffstat (limited to 'eslint.config.js')
-rw-r--r-- | eslint.config.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/eslint.config.js b/eslint.config.js index b2a1c54..ac88ddf 100644 --- a/eslint.config.js +++ b/eslint.config.js | |||
@@ -21,7 +21,7 @@ export default [ | |||
21 | node: nodePlugin, | 21 | node: nodePlugin, |
22 | }, | 22 | }, |
23 | rules: { | 23 | rules: { |
24 | 'no-unused-vars': ['error', { 'varsIgnorePattern': '^_' }], | 24 | 'no-unused-vars': ['warn', { 'varsIgnorePattern': '^_' }], |
25 | 'import/no-unresolved': 'error', | 25 | 'import/no-unresolved': 'error', |
26 | 'no-console': ["error", { allow: ["info", "warn", "error"] }], | 26 | 'no-console': ["error", { allow: ["info", "warn", "error"] }], |
27 | 'eqeqeq': ['error', 'always'], | 27 | 'eqeqeq': ['error', 'always'], |