mirror of https://github.com/zulip/zulip.git
eslint: Enable import/no-cycle rule.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
parent
881da05cd3
commit
0fd4e309d5
|
@ -50,6 +50,7 @@
|
||||||
"import/extensions": "error",
|
"import/extensions": "error",
|
||||||
"import/first": "error",
|
"import/first": "error",
|
||||||
"import/newline-after-import": "error",
|
"import/newline-after-import": "error",
|
||||||
|
"import/no-cycle": ["error", {"ignoreExternal": true}],
|
||||||
"import/no-duplicates": "error",
|
"import/no-duplicates": "error",
|
||||||
"import/no-self-import": "error",
|
"import/no-self-import": "error",
|
||||||
"import/no-unresolved": "off",
|
"import/no-unresolved": "off",
|
||||||
|
@ -193,7 +194,6 @@
|
||||||
"@typescript-eslint/no-use-before-define": ["error", {"functions": false}],
|
"@typescript-eslint/no-use-before-define": ["error", {"functions": false}],
|
||||||
"@typescript-eslint/parameter-properties": "error",
|
"@typescript-eslint/parameter-properties": "error",
|
||||||
"@typescript-eslint/promise-function-async": "error",
|
"@typescript-eslint/promise-function-async": "error",
|
||||||
"import/no-cycle": "error",
|
|
||||||
"no-undef": "error"
|
"no-undef": "error"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue