File tree 6 files changed +9
-9
lines changed
6 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ module.exports = {
33
33
usePrettierrc : true ,
34
34
} ,
35
35
] ,
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(?) .
37
37
// Repo rule
38
38
"no-restricted-imports" : [
39
39
"error" ,
Original file line number Diff line number Diff line change @@ -10,6 +10,6 @@ module.exports = {
10
10
rules : {
11
11
"svelte/no-target-blank" : "error" ,
12
12
"svelte/button-has-type" : "error" ,
13
- "node /file-extension-in-import" : "off" ,
13
+ "n /file-extension-in-import" : "off" ,
14
14
} ,
15
15
}
Original file line number Diff line number Diff line change 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 "
3
3
export { SourceMapGenerator , SourceMapConsumer }
4
4
export default { SourceMapGenerator, SourceMapConsumer }
Original file line number Diff line number Diff line change @@ -3,8 +3,8 @@ module.exports = {
3
3
sourceType : "module" ,
4
4
} ,
5
5
rules : {
6
- "node /no-unsupported-features/es-syntax" : "off" ,
6
+ "n /no-unsupported-features/es-syntax" : "off" ,
7
7
"require-jsdoc" : "off" ,
8
- "node /no-missing-import" : "off" ,
8
+ "n /no-missing-import" : "off" ,
9
9
} ,
10
10
}
Original file line number Diff line number Diff line change 90
90
"@changesets/cli" : " ^2.24.2" ,
91
91
"@changesets/get-release-plan" : " ^3.0.16" ,
92
92
"@fontsource/fira-mono" : " ^5.0.0" ,
93
- "@ota-meshi/eslint-plugin" : " ^0.13 .0" ,
93
+ "@ota-meshi/eslint-plugin" : " ^0.15 .0" ,
94
94
"@sindresorhus/slugify" : " ^2.1.0" ,
95
95
"@sveltejs/adapter-static" : " ^2.0.2" ,
96
96
"@sveltejs/kit" : " ^1.16.3" ,
132
132
"eslint-plugin-jsonc" : " ^2.0.0" ,
133
133
"eslint-plugin-markdown" : " ^3.0.0" ,
134
134
"eslint-plugin-mdx" : " ^2.0.2" ,
135
- "eslint-plugin-node " : " ^11 .1.0" ,
135
+ "eslint-plugin-n " : " ^15 .1.0" ,
136
136
"eslint-plugin-node-dependencies" : " ^0.11.0" ,
137
137
"eslint-plugin-prettier" : " ^4.2.1" ,
138
138
"eslint-plugin-regexp" : " ^1.0.0" ,
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ module.exports = {
21
21
"func-style" : "off" ,
22
22
"no-console" : "off" ,
23
23
"no-use-before-define" : "off" ,
24
- "node /no-unsupported-features/es-syntax" : "off" ,
24
+ "n /no-unsupported-features/es-syntax" : "off" ,
25
25
26
26
"@typescript-eslint/await-thenable" : "off" ,
27
27
"@typescript-eslint/no-floating-promises" : "off" ,
You can’t perform that action at this time.
0 commit comments