Skip to content

Commit

Permalink
update eslint config
Browse files Browse the repository at this point in the history
  • Loading branch information
vwh committed Jul 26, 2024
1 parent c716d12 commit 735c8bc
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
/** @type {import("eslint").Linter.Config} */
module.exports = {
root: true,
env: { browser: true, es2020: true },
extends: [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"plugin:react-hooks/recommended",
"plugin:react-hooks/recommended"
],
ignorePatterns: ["dist", ".eslintrc.cjs"],
parser: "@typescript-eslint/parser",
Expand All @@ -14,7 +15,7 @@ module.exports = {
"@typescript-eslint/no-explicit-any": "off",
"react-refresh/only-export-components": [
"warn",
{ allowConstantExport: true },
],
},
{ allowConstantExport: true }
]
}
};

0 comments on commit 735c8bc

Please sign in to comment.