Skip to content

Commit 4cfc7c0

Browse files
chore(deps): update dependency @ota-meshi/eslint-plugin to ^0.14.0 (#233)
* chore(deps): update dependency @ota-meshi/eslint-plugin to ^0.14.0 * Update package.json * fix --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Yosuke Ota <otameshiyo23@gmail.com>
1 parent e26129e commit 4cfc7c0

File tree

10 files changed

+16
-20
lines changed

10 files changed

+16
-20
lines changed

docs/.vuepress/components/components/languages/toml/toml.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// eslint-disable-next-line node/no-unsupported-features/es-syntax -- build
21
export const language = {
32
tokenPostfix: ".toml",
43
brackets: [

docs/.vuepress/components/rules/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
/* eslint node/no-unsupported-features/es-syntax: off -- not node */
1+
// eslint-disable-next-line n/no-missing-import -- no build
22
import { Linter } from "eslint/lib/linter";
3-
// eslint-disable-next-line node/no-missing-import -- no build
3+
// eslint-disable-next-line n/no-missing-import -- no build
44
import plugin from "../../../../";
55

66
const coreRules = Object.fromEntries(new Linter().getRules());

docs/.vuepress/components/state/deserialize.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
/* eslint node/no-unsupported-features/es-syntax: off -- not node */
2-
import pako from "../../../../node_modules/pako";
1+
// eslint-disable-next-line n/no-extraneous-import -- Demo
2+
import pako from "pako";
33

44
/**
55
* Deserialize a given serialized string then update this object.
Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
1-
/* eslint node/no-unsupported-features/es-syntax: off -- not node */
2-
export * from "./deserialize";
3-
export * from "./serialize";
1+
export * from "./deserialize.js";
2+
export * from "./serialize.js";

docs/.vuepress/components/state/serialize.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
/* eslint node/no-unsupported-features/es-syntax: off -- not node */
2-
import pako from "../../../../node_modules/pako";
1+
// eslint-disable-next-line n/no-extraneous-import -- Demo
2+
import pako from "pako";
33

44
/**
55
* Get only enabled rules to make the serialized data smaller.

docs/.vuepress/config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
const path = require("path");
2-
// eslint-disable-next-line node/no-missing-require -- no build
2+
// eslint-disable-next-line n/no-missing-require -- no build
33
const { rules } = require("../../lib/utils/rules");
4-
// eslint-disable-next-line node/no-missing-require -- no build
4+
// eslint-disable-next-line n/no-missing-require -- no build
55
const schema = require("../../lib/utils/schema");
66
// Generate a schema store cache and include it in the bundle.
77
schema.loadJson("https://www.schemastore.org/api/json/catalog.json", {});

docs/.vuepress/enhanceApp.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
/* eslint node/no-unsupported-features/es-syntax: off -- not node */
21
export default () =>
32
// {
43
// Vue, // the version of Vue being used in the VuePress app

docs/.vuepress/shim/eslint-visitor-keys/index.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
// eslint-disable-next-line eslint-comments/disable-enable-pair -- DEMO
2-
/* eslint-disable node/no-unsupported-features/es-syntax -- DEMO */
3-
import * as w from "../../../../node_modules/eslint-visitor-keys/lib/index";
2+
import * as w from "../../../../node_modules/eslint-visitor-keys/lib/index.js";
43

54
const all = w.default || w;
65
export const { KEYS, getKeys, unionWith } = all;

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464
"@actions/core": "^1.2.6",
6565
"@changesets/changelog-github": "^0.4.6",
6666
"@changesets/cli": "^2.24.2",
67-
"@ota-meshi/eslint-plugin": "^0.13.0",
67+
"@ota-meshi/eslint-plugin": "^0.15.0",
6868
"@types/debug": "^4.1.5",
6969
"@types/eslint": "^8.0.0",
7070
"@types/eslint-scope": "^3.7.0",
@@ -85,7 +85,7 @@
8585
"eslint-plugin-json-schema-validator": "^4.0.0",
8686
"eslint-plugin-jsonc": "^2.0.0",
8787
"eslint-plugin-markdown": "^3.0.0",
88-
"eslint-plugin-node": "^11.1.0",
88+
"eslint-plugin-n": "^15.0.0",
8989
"eslint-plugin-node-dependencies": "^0.11.0",
9090
"eslint-plugin-prettier": "^5.0.0",
9191
"eslint-plugin-regexp": "^1.0.0",

tests/fixtures/.eslintrc.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ module.exports = {
99
"yml/require-string-key": "off",
1010
"yml/no-empty-key": "off",
1111
"no-sparse-arrays": "off",
12-
"node/no-unsupported-features/es-syntax": "off",
12+
"n/no-unsupported-features/es-syntax": "off",
1313
"no-implicit-coercion": "off",
14-
"node/no-exports-assign": "off",
15-
"node/exports-style": "off",
14+
"n/no-exports-assign": "off",
15+
"n/exports-style": "off",
1616
"no-void": "off",
1717
eqeqeq: "off",
1818
"prefer-template": "off",

0 commit comments

Comments
 (0)