eslint-config-complete 1.2.6 → 1.2.8

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.
@@ -1 +1 @@
1
- {"version":3,"file":"base-n.d.ts","sourceRoot":"","sources":["../../src/base/base-n.js"],"names":[],"mappings":"AAGA;;;;GAIG;AACH,wFA0IE"}
1
+ {"version":3,"file":"base-n.d.ts","sourceRoot":"","sources":["../../src/base/base-n.js"],"names":[],"mappings":"AAGA;;;;GAIG;AACH,wFA2IE"}
@@ -38,7 +38,8 @@ export const baseN = tseslint.config({
38
38
  "n/no-hide-core-modules": "off",
39
39
  /** Disabled since it is handled by the TypeScript compiler. */
40
40
  "n/no-missing-import": "off",
41
- "n/no-missing-require": "warn",
41
+ /** Disabled since it is handled by the TypeScript compiler. */
42
+ "n/no-missing-require": "off",
42
43
  /** Disabled since stylistic rules from this plugin are not used. */
43
44
  "n/no-mixed-requires": "off",
44
45
  "n/no-new-require": "warn",
@@ -1 +1 @@
1
- {"version":3,"file":"base-unicorn.d.ts","sourceRoot":"","sources":["../../src/base/base-unicorn.js"],"names":[],"mappings":"AAyOA;;;;;;;GAOG;AACH,8FASG"}
1
+ {"version":3,"file":"base-unicorn.d.ts","sourceRoot":"","sources":["../../src/base/base-unicorn.js"],"names":[],"mappings":"AA4OA;;;;;;;GAOG;AACH,8FASG"}
@@ -10,6 +10,7 @@ const NORMAL_RULES = {
10
10
  /** Disabled because it has too many false positives. */
11
11
  "unicorn/consistent-destructuring": "off",
12
12
  "unicorn/consistent-empty-array-spread": "warn",
13
+ "unicorn/consistent-existence-index-check": "warn",
13
14
  "unicorn/consistent-function-scoping": "warn",
14
15
  "unicorn/custom-error-definition": "warn",
15
16
  "unicorn/empty-brace-spaces": "off", // eslint-config-prettier
@@ -98,11 +99,13 @@ const NORMAL_RULES = {
98
99
  "unicorn/prefer-dom-node-text-content": "warn",
99
100
  "unicorn/prefer-event-target": "warn",
100
101
  "unicorn/prefer-export-from": "warn",
102
+ "unicorn/prefer-global-this": "warn",
101
103
  "unicorn/prefer-includes": "warn",
102
104
  /** Disabled because the rule is not compatible with TypeScript. */
103
105
  "unicorn/prefer-json-parse-buffer": "off",
104
106
  "unicorn/prefer-keyboard-event-key": "warn",
105
107
  "unicorn/prefer-logical-operator-over-ternary": "warn",
108
+ "unicorn/prefer-math-min-max": "warn",
106
109
  "unicorn/prefer-math-trunc": "warn",
107
110
  "unicorn/prefer-modern-dom-apis": "warn",
108
111
  "unicorn/prefer-modern-math-apis": "warn",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-config-complete",
3
- "version": "1.2.6",
3
+ "version": "1.2.8",
4
4
  "description": "A sharable ESLint config for TypeScript projects.",
5
5
  "keywords": [
6
6
  "eslint",
@@ -35,22 +35,22 @@
35
35
  "lint": "tsx ./scripts/lint.ts"
36
36
  },
37
37
  "dependencies": {
38
- "@stylistic/eslint-plugin": "^2.8.0",
38
+ "@stylistic/eslint-plugin": "^2.9.0",
39
39
  "confusing-browser-globals": "^1.0.11",
40
40
  "eslint-import-resolver-typescript": "^3.6.3",
41
- "eslint-plugin-complete": "^1.0.3",
42
- "eslint-plugin-import-x": "^4.3.0",
43
- "eslint-plugin-jsdoc": "^50.3.0",
44
- "eslint-plugin-n": "^17.10.3",
45
- "eslint-plugin-unicorn": "^55.0.0",
46
- "typescript-eslint": "^8.7.0"
41
+ "eslint-plugin-complete": "^1.0.6",
42
+ "eslint-plugin-import-x": "^4.3.1",
43
+ "eslint-plugin-jsdoc": "^50.3.1",
44
+ "eslint-plugin-n": "^17.11.1",
45
+ "eslint-plugin-unicorn": "^56.0.0",
46
+ "typescript-eslint": "^8.8.1"
47
47
  },
48
48
  "devDependencies": {
49
- "@eslint/js": "^9.11.1",
49
+ "@eslint/js": "^9.12.0",
50
50
  "@types/confusing-browser-globals": "^1.0.3",
51
51
  "@types/eslint-config-prettier": "^6.11.3",
52
52
  "@types/eslint__js": "^8.42.3",
53
- "@types/node": "^22.7.4",
53
+ "@types/node": "^22.7.5",
54
54
  "complete-common": "^1.0.0",
55
55
  "complete-node": "^1.5.1",
56
56
  "eslint-config-prettier": "^9.1.0",