Skip to content

Commit

Permalink
fix: change eslint version to json
Browse files Browse the repository at this point in the history
  • Loading branch information
amalcaraz committed May 9, 2024
1 parent 084b5d5 commit ffd13ef
Show file tree
Hide file tree
Showing 2 changed files with 45 additions and 37 deletions.
37 changes: 0 additions & 37 deletions .eslintrc.js

This file was deleted.

45 changes: 45 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
{
"env": {
"browser": true,
"es2021": true
},
"extends": [
"eslint:recommended",
"plugin:react/recommended",
"plugin:react-hooks/recommended",
"plugin:@typescript-eslint/recommended",
"plugin:prettier/recommended",
"plugin:storybook/recommended"
],
"settings": {
"react": {
"version": "detect"
}
},
"overrides": [],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": "latest",
"sourceType": "module"
},
"plugins": [
"react",
"@typescript-eslint",
"prettier"
],
"rules": {
"@typescript-eslint/no-explicit-any": 0,
"@typescript-eslint/no-inferrable-types": 0,
"prettier/prettier": "error",
"react/no-unknown-property": [
"error",
{
"ignore": [
"css",
"tw"
]
}
],
"react/prop-types": "off"
}
}

0 comments on commit ffd13ef

Please sign in to comment.