Enable import/no-cycle ESLint rule
This commit is contained in:
@@ -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" }],
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user