Skip to content

Commit

Permalink
Fix babel error
Browse files Browse the repository at this point in the history
  • Loading branch information
SH5H committed Dec 3, 2022
1 parent 8bbd5a1 commit de7e501
Showing 1 changed file with 6 additions and 16 deletions.
22 changes: 6 additions & 16 deletions frontend/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
{
"extends": "next/core-web-vitals",
"plugins": [
"simple-import-sort"
],
"extends": ["next/babel", "next/core-web-vitals"],
"plugins": ["simple-import-sort"],
"rules": {
"react-hooks/exhaustive-deps": "off",
"simple-import-sort/exports": "warn",
Expand All @@ -18,15 +16,9 @@
"^(assert|buffer|child_process|cluster|console|constants|crypto|dgram|dns|domain|events|fs|http|https|module|net|os|path|punycode|querystring|readline|repl|stream|string_decoder|sys|timers|tls|tty|url|util|vm|zlib|freelist|v8|process|async_hooks|http2|perf_hooks)(/.*|$)"
],
// Packages `react` related packages
[
"^react",
"^next",
"^@?\\w"
],
["^react", "^next", "^@?\\w"],
// Internal packages.
[
"^~(/.*|$)"
],
["^~(/.*|$)"],
// Relative imports
[
"^\\.\\.(?!/?$)",
Expand All @@ -36,11 +28,9 @@
"^\\./?$"
],
// Style imports.
[
"^.+\\.?(css|scss)$"
]
["^.+\\.?(css|scss)$"]
]
}
]
}
}
}

0 comments on commit de7e501

Please sign in to comment.