Skip to content

Commit

Permalink
✅ update eslint config
Browse files Browse the repository at this point in the history
  • Loading branch information
ImJustLucas committed Oct 29, 2024
1 parent b1674cf commit fa4163b
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,16 +26,10 @@
"error",
{
"groups": [
/* Style imports */
["^.+\\.?(css)$"],

/* React et Next imports */
["^react", "^@react", "^next"],

["^[a-z]"],

["^@/"],

[
"^\\.\\.(?!/?$)",
"^\\.\\./?$",
Expand All @@ -48,19 +42,18 @@
],
"simple-import-sort/exports": "error",
"react/jsx-filename-extension": [1, { "extensions": [".tsx", ".ts"] }],
"react/jsx-props-no-spreading": [0],
"react/jsx-props-no-spreading": 0,
"react/no-unknown-property": ["error", { "ignore": ["jsx"] }],
"react/react-in-jsx-scope": "off",
"react/jsx-indent-props": ["error", 2],
"import/extensions": [0],
"import/extensions": 0,
"semi": ["error", "always"],
"quotes": ["error", "double"],
"no-console": 0,
"no-control-regex": 0,
"prettier/prettier": ["error", { "endOfLine": "auto" }]
},
"overrides": [
// Only uses Testing Library lint rules in test files
{
"files": [
"**/__tests__/**/*.[jt]s?(x)",
Expand Down

0 comments on commit fa4163b

Please sign in to comment.