mirror of
https://github.com/theoludwig/eslint-config-conventions.git
synced 2025-05-18 12:02:33 +02:00
fix: remove eslint-plugin-import rules
We'll consider using eslint-plugin-import-x in the next major version, https://github.com/theoludwig/eslint-config-conventions/issues/3 We remove this plugin to avoid issues like this: https://github.com/pnpm/pnpm/issues/4619 (should be resolved when ESLint v9 is fully supported) And because of the lack of features, that eslint-plugin-import-x implement: (https://github.com/un-ts/eslint-plugin-import-x/issues/24#issuecomment-1991605123)
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
{
|
||||
"root": true,
|
||||
"plugins": ["import", "promise", "unicorn"],
|
||||
"plugins": ["promise", "unicorn"],
|
||||
"env": {
|
||||
"browser": true,
|
||||
"node": true,
|
||||
@ -157,24 +157,6 @@
|
||||
"arrow-parens": ["error", "always"],
|
||||
"arrow-body-style": ["error", "always"],
|
||||
|
||||
"import/no-absolute-path": "error",
|
||||
"import/no-webpack-loader-syntax": "error",
|
||||
"import/no-self-import": "error",
|
||||
"import/no-useless-path-segments": "error",
|
||||
"import/export": "error",
|
||||
"import/first": "error",
|
||||
"import/no-duplicates": "error",
|
||||
"import/order": [
|
||||
"error",
|
||||
{
|
||||
"groups": ["builtin", "external", "internal"],
|
||||
"newlines-between": "always"
|
||||
}
|
||||
],
|
||||
"import/no-named-default": "error",
|
||||
"import/no-empty-named-blocks": "error",
|
||||
"import/no-anonymous-default-export": "error",
|
||||
|
||||
"promise/param-names": "error",
|
||||
"promise/no-new-statics": "error",
|
||||
"promise/no-multiple-resolved": "error",
|
||||
|
Reference in New Issue
Block a user