@deot/dev-eslint 2.9.4 → 2.9.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -54,11 +54,9 @@ const cleanRules = (key, all, recommended, current) => {
54
54
  const invaild = [];
55
55
  const keys = Object.keys(current);
56
56
  keys.forEach((i) => {
57
- /* istanbul ignore next -- @preserve */
58
57
  if (all[i] === void 0 && recommended[i] === void 0) {
59
58
  removed.push(i);
60
59
  }
61
- /* istanbul ignore next -- @preserve */
62
60
  if (recommended[i] === void 0 && (all[i] !== 0 && all[i] !== "off") && (current[i] === 0 || current[i] === "off")) {
63
61
  invaild.push(i);
64
62
  }
@@ -70,15 +68,12 @@ const cleanRules = (key, all, recommended, current) => {
70
68
  }
71
69
  });
72
70
  const isTest = process.env.NODE_ENV === "UNIT" && !process.env.CI;
73
- /* istanbul ignore next -- @preserve */
74
71
  if (isTest && removed.length) {
75
72
  console.error(key + ": " + removed.join(",") + " has removed!\n");
76
73
  }
77
- /* istanbul ignore next -- @preserve */
78
74
  if (isTest && invaild.length) {
79
75
  console.error(key + ": " + invaild.join(",") + " has off default!\n");
80
76
  }
81
- /* istanbul ignore next -- @preserve */
82
77
  if (isTest && deprecated.length) {
83
78
  console.error(key + ": " + deprecated.join(",") + " has deprecated!\n");
84
79
  }
package/dist/index.js CHANGED
@@ -31,11 +31,9 @@ const cleanRules = (key, all, recommended, current) => {
31
31
  const invaild = [];
32
32
  const keys = Object.keys(current);
33
33
  keys.forEach((i) => {
34
- /* istanbul ignore next -- @preserve */
35
34
  if (all[i] === void 0 && recommended[i] === void 0) {
36
35
  removed.push(i);
37
36
  }
38
- /* istanbul ignore next -- @preserve */
39
37
  if (recommended[i] === void 0 && (all[i] !== 0 && all[i] !== "off") && (current[i] === 0 || current[i] === "off")) {
40
38
  invaild.push(i);
41
39
  }
@@ -47,15 +45,12 @@ const cleanRules = (key, all, recommended, current) => {
47
45
  }
48
46
  });
49
47
  const isTest = process.env.NODE_ENV === "UNIT" && !process.env.CI;
50
- /* istanbul ignore next -- @preserve */
51
48
  if (isTest && removed.length) {
52
49
  console.error(key + ": " + removed.join(",") + " has removed!\n");
53
50
  }
54
- /* istanbul ignore next -- @preserve */
55
51
  if (isTest && invaild.length) {
56
52
  console.error(key + ": " + invaild.join(",") + " has off default!\n");
57
53
  }
58
- /* istanbul ignore next -- @preserve */
59
54
  if (isTest && deprecated.length) {
60
55
  console.error(key + ": " + deprecated.join(",") + " has deprecated!\n");
61
56
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@deot/dev-eslint",
3
- "version": "2.9.4",
3
+ "version": "2.9.7",
4
4
  "main": "dist/index.js",
5
5
  "type": "module",
6
6
  "types": "dist/index.d.ts",
@@ -19,17 +19,17 @@
19
19
  "access": "public"
20
20
  },
21
21
  "dependencies": {
22
- "@stylistic/eslint-plugin": "^5.4.0",
23
- "@typescript-eslint/eslint-plugin": "^8.46.0",
24
- "@typescript-eslint/parser": "^8.46.0",
22
+ "@stylistic/eslint-plugin": "^5.5.0",
23
+ "@typescript-eslint/eslint-plugin": "^8.46.3",
24
+ "@typescript-eslint/parser": "^8.46.3",
25
25
  "eslint-plugin-import-x": "^4.16.1",
26
- "eslint-plugin-jsdoc": "^61.0.0",
26
+ "eslint-plugin-jsdoc": "^61.1.12",
27
27
  "eslint-plugin-markdown": "^5.1.0",
28
- "eslint-plugin-vue": "^10.5.0",
29
- "globals": "^16.4.0"
28
+ "eslint-plugin-vue": "^10.5.1",
29
+ "globals": "^16.5.0"
30
30
  },
31
31
  "devDependencies": {
32
32
  "@types/eslint": "^9.6.1",
33
- "eslint": "^9.37.0"
33
+ "eslint": "^9.39.1"
34
34
  }
35
35
  }