Skip to content

Commit

Permalink
update eslint plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
mehdi-torabiv committed Jul 10, 2024
1 parent 4c7e703 commit 04a97b3
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,10 @@
"eslint:recommended",
"plugin:react/recommended",
"plugin:react-hooks/recommended",
"plugin:tailwindcss/recommended",
"plugin:prettier/recommended"
],
"plugins": ["react", "react-hooks"],
"plugins": ["react", "react-hooks", "simple-import-sort"],
"parserOptions": {
"ecmaVersion": 2020,
"sourceType": "module",
Expand All @@ -22,6 +23,8 @@
"es2020": true
},
"rules": {
"react/react-in-jsx-scope": "off"
"react/react-in-jsx-scope": "off",
"simple-import-sort/imports": "error",
"simple-import-sort/exports": "error"
}
}
27 changes: 27 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@
"eslint-plugin-prettier": "^5.1.3",
"eslint-plugin-react": "^7.34.3",
"eslint-plugin-react-hooks": "^4.6.2",
"eslint-plugin-simple-import-sort": "^12.1.1",
"eslint-plugin-tailwindcss": "^3.17.4",
"globals": "^15.8.0",
"husky": "^9.0.11",
"jsdom": "^24.1.0",
Expand Down

0 comments on commit 04a97b3

Please sign in to comment.