Skip to content

Commit

Permalink
fix: eslint detect react version fix
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcoEscaleira committed Jan 28, 2024
1 parent b4ca1fc commit fe4f515
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,12 @@ module.exports = {
__API_SERVICE__: "readonly",
__MAPBOX_TOKEN__: "readonly",
},
ignorePatterns: ["dist", ".eslintrc.cjs", "vite.config.ts", '__generated__'],
ignorePatterns: ["dist", ".eslintrc.cjs", "vite.config.ts", "__generated__"],
parser: "@typescript-eslint/parser",
settings: {
react: {
version: "detect",
},
"import/parsers": {
"@typescript-eslint/parser": [".ts", ".tsx"],
},
Expand Down

0 comments on commit fe4f515

Please sign in to comment.