Skip to content

Commit bb42b86

Browse files
committed
chore: fix configs
1 parent 0dfaa57 commit bb42b86

File tree

4 files changed

+4
-5
lines changed

4 files changed

+4
-5
lines changed

.eslintrc.js

-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ module.exports = {
3333
usePrettierrc: true,
3434
},
3535
],
36-
"node/no-missing-import": "off", // It's a plugin bug. Should be replaced with eslint-plugin-n.
3736
// Repo rule
3837
"no-restricted-imports": [
3938
"error",

docs-svelte-kit/.eslintrc.cjs

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,6 @@ module.exports = {
1010
rules: {
1111
"svelte/no-target-blank": "error",
1212
"svelte/button-has-type": "error",
13-
"node/file-extension-in-import": "off",
13+
"n/file-extension-in-import": "off",
1414
},
1515
}

docs-svelte-kit/src/.eslintrc.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ module.exports = {
33
sourceType: "module",
44
},
55
rules: {
6-
"node/no-unsupported-features/es-syntax": "off",
6+
"n/no-unsupported-features/es-syntax": "off",
77
"require-jsdoc": "off",
8-
"node/no-missing-import": "off",
8+
"n/no-missing-import": "off",
99
},
1010
}

tests/fixtures/rules/.eslintrc.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ module.exports = {
2121
"func-style": "off",
2222
"no-console": "off",
2323
"no-use-before-define": "off",
24-
"node/no-unsupported-features/es-syntax": "off",
24+
"n/no-unsupported-features/es-syntax": "off",
2525

2626
"@typescript-eslint/await-thenable": "off",
2727
"@typescript-eslint/no-floating-promises": "off",

0 commit comments

Comments
 (0)