Enable import/no-cycle ESLint rule
This commit is contained in:
Родитель
397693a2cb
Коммит
f21ee5173c
|
@ -67,7 +67,7 @@ const baseConfig = {
|
||||||
"github/array-foreach": "off",
|
"github/array-foreach": "off",
|
||||||
"github/no-then": "off",
|
"github/no-then": "off",
|
||||||
"react/jsx-key": ["error", { checkFragmentShorthand: true }],
|
"react/jsx-key": ["error", { checkFragmentShorthand: true }],
|
||||||
"import/no-cycle": "off",
|
"import/no-cycle": "error",
|
||||||
// Never allow extensions in import paths, except for JSON files where they are required.
|
// Never allow extensions in import paths, except for JSON files where they are required.
|
||||||
"import/extensions": ["error", "never", { json: "always" }],
|
"import/extensions": ["error", "never", { json: "always" }],
|
||||||
},
|
},
|
||||||
|
|
Загрузка…
Ссылка в новой задаче