Skip to content

Commit 8d75e46

Browse files
chore(deps): update dependency @ota-meshi/eslint-plugin to ^0.15.0 (#542)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Yosuke Ota <[email protected]>
1 parent 8d94fcf commit 8d75e46

File tree

6 files changed

+9
-9
lines changed

6 files changed

+9
-9
lines changed

.eslintrc.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ 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.
36+
"n/file-extension-in-import": "off", // It's a plugin bug(?).
3737
// Repo rule
3838
"no-restricted-imports": [
3939
"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
}
+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { SourceMapGenerator } from "../../node_modules/source-map-js/lib/source-map-generator"
2-
import { SourceMapConsumer } from "../../node_modules/source-map-js/lib/source-map-consumer"
1+
import { SourceMapGenerator } from "../../node_modules/source-map-js/lib/source-map-generator.js"
2+
import { SourceMapConsumer } from "../../node_modules/source-map-js/lib/source-map-consumer.js"
33
export { SourceMapGenerator, SourceMapConsumer }
44
export default { SourceMapGenerator, SourceMapConsumer }

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
}

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@
9090
"@changesets/cli": "^2.24.2",
9191
"@changesets/get-release-plan": "^3.0.16",
9292
"@fontsource/fira-mono": "^5.0.0",
93-
"@ota-meshi/eslint-plugin": "^0.13.0",
93+
"@ota-meshi/eslint-plugin": "^0.15.0",
9494
"@sindresorhus/slugify": "^2.1.0",
9595
"@sveltejs/adapter-static": "^2.0.2",
9696
"@sveltejs/kit": "^1.16.3",
@@ -132,7 +132,7 @@
132132
"eslint-plugin-jsonc": "^2.0.0",
133133
"eslint-plugin-markdown": "^3.0.0",
134134
"eslint-plugin-mdx": "^2.0.2",
135-
"eslint-plugin-node": "^11.1.0",
135+
"eslint-plugin-n": "^15.1.0",
136136
"eslint-plugin-node-dependencies": "^0.11.0",
137137
"eslint-plugin-prettier": "^4.2.1",
138138
"eslint-plugin-regexp": "^1.0.0",

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)