Enable import/no-cycle ESLint rule

This commit is contained in:
Koen Vlaswinkel 2024-01-08 13:46:48 +01:00
Родитель 397693a2cb
Коммит f21ee5173c
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -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" }],
}, },