Skip to content

Commit

Permalink
Chore: update '.eslintrc.json'
Browse files Browse the repository at this point in the history
  • Loading branch information
ITurres committed May 2, 2024
1 parent 4733233 commit c78b562
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"plugin:react/recommended",
"plugin:react-hooks/recommended"
],
"plugins": ["react", "@typescript-eslint"], // *Include @typescript-eslint plugin
"plugins": ["react", "@typescript-eslint"],
"rules": {
"react/jsx-filename-extension": [
"error",
Expand All @@ -28,15 +28,15 @@
"import/no-unresolved": "off",
"no-shadow": "off",
"no-use-before-define": "off",
"@typescript-eslint/no-use-before-define": ["error"]
"@typescript-eslint/no-use-before-define": "error"
},
"overrides": [
{
"files": ["src/**/*Slice.js"],
"rules": { "no-param-reassign": ["error", { "props": false }] }
},
{
"files": ["src/**/*.ts", "src/**/*.tsx"],
"files": ["src/**/*.ts", "src/**/*.tsx", "types.d.ts"], // Include the types.d.ts file here
"rules": {
"no-undef": "off",
"no-param-reassign": "off"
Expand Down

0 comments on commit c78b562

Please sign in to comment.