Enable import/no-cycle ESLint rule

This commit is contained in:
Koen Vlaswinkel
2024-01-08 13:46:48 +01:00
parent 397693a2cb
commit f21ee5173c

View File

@@ -67,7 +67,7 @@ const baseConfig = {
"github/array-foreach": "off",
"github/no-then": "off",
"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.
"import/extensions": ["error", "never", { json: "always" }],
},