Skip to content

Commit 00f8208

Browse files
committed
fix: fixed missing plugin imports
1 parent 8bd75d2 commit 00f8208

File tree

6 files changed

+7
-3
lines changed

6 files changed

+7
-3
lines changed

packages/eslint-config/rules/es6.cjs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ module.exports = {
1010
objectLiteralDuplicateProperties: false,
1111
},
1212
},
13-
1413
rules: {
1514
// enforces no braces where they can be omitted
1615
// https://eslint.org/docs/rules/arrow-body-style

packages/eslint-config/rules/plugins/import.cjs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ module.exports = {
77
sourceType: "module",
88
},
99
plugins: ["import"],
10-
1110
settings: {
1211
"import/resolver": {
1312
node: {
@@ -18,7 +17,6 @@ module.exports = {
1817
"import/core-modules": [],
1918
"import/ignore": ["node_modules", "\\.(coffee|scss|css|less|hbs|svg|json)$"],
2019
},
21-
2220
rules: {
2321
// Static analysis:
2422

packages/eslint-config/rules/plugins/node.cjs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
// @see https://github.com/mysticatea/eslint-plugin-node#readme
22
module.exports = {
3+
extends: ["plugin:node/recommended"],
34
env: {
45
node: true,
56
},
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
module.exports = {
2+
plugins: ["simple-import-sort"],
23
rules: {
34
"simple-import-sort/imports": ["error", { groups: [["^\\u0000"], ["^[^.]"], ["^\\."]] }],
45
"simple-import-sort/exports": "off",
6+
"import/first": "error",
7+
"import/newline-after-import": "error",
8+
"import/no-duplicates": "error"
59
},
610
};

packages/eslint-config/rules/plugins/sort-keys-fix.cjs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
module.exports = {
2+
plugins: ["sort-keys-fix"],
23
rules: {
34
"sort-keys-fix/sort-keys-fix": "error",
45
},

packages/eslint-config/rules/plugins/typescript-sort-keys.cjs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
module.exports = {
2+
plugins: ["typescript-sort-keys"],
23
rules: {
34
"typescript-sort-keys/interface": "error",
45
"typescript-sort-keys/string-enum": "error",

0 commit comments

Comments
 (0)