mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-09-22 13:39:35 +00:00
Fix babel error
This commit is contained in:
@@ -1,8 +1,6 @@
|
|||||||
{
|
{
|
||||||
"extends": "next/core-web-vitals",
|
"extends": ["next/babel", "next/core-web-vitals"],
|
||||||
"plugins": [
|
"plugins": ["simple-import-sort"],
|
||||||
"simple-import-sort"
|
|
||||||
],
|
|
||||||
"rules": {
|
"rules": {
|
||||||
"react-hooks/exhaustive-deps": "off",
|
"react-hooks/exhaustive-deps": "off",
|
||||||
"simple-import-sort/exports": "warn",
|
"simple-import-sort/exports": "warn",
|
||||||
@@ -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)(/.*|$)"
|
"^(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
|
// Packages `react` related packages
|
||||||
[
|
["^react", "^next", "^@?\\w"],
|
||||||
"^react",
|
|
||||||
"^next",
|
|
||||||
"^@?\\w"
|
|
||||||
],
|
|
||||||
// Internal packages.
|
// Internal packages.
|
||||||
[
|
["^~(/.*|$)"],
|
||||||
"^~(/.*|$)"
|
|
||||||
],
|
|
||||||
// Relative imports
|
// Relative imports
|
||||||
[
|
[
|
||||||
"^\\.\\.(?!/?$)",
|
"^\\.\\.(?!/?$)",
|
||||||
@@ -36,9 +28,7 @@
|
|||||||
"^\\./?$"
|
"^\\./?$"
|
||||||
],
|
],
|
||||||
// Style imports.
|
// Style imports.
|
||||||
[
|
["^.+\\.?(css|scss)$"]
|
||||||
"^.+\\.?(css|scss)$"
|
|
||||||
]
|
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|||||||
Reference in New Issue
Block a user