Skip to content

Commit

Permalink
Set new eslint rules
Browse files Browse the repository at this point in the history
  • Loading branch information
charlykeyko committed Sep 4, 2023
1 parent 65620b8 commit 734a9e0
Show file tree
Hide file tree
Showing 3 changed files with 2,473 additions and 239 deletions.
6 changes: 4 additions & 2 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,12 @@ module.exports = {
extends: [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"plugin:react-hooks/recommended"
"plugin:react-hooks/recommended",
"standard-with-typescript",
"plugin:prettier/recommended",
],
parser: "@typescript-eslint/parser",
parserOptions: { ecmaVersion: "latest", sourceType: "module" },
parserOptions: { ecmaVersion: "latest", sourceType: "module", project: "./tsconfig.json" },
plugins: ["react-refresh"],
rules: {
"react-refresh/only-export-components": "warn"
Expand Down
Loading

0 comments on commit 734a9e0

Please sign in to comment.