@tb-dev/eslint-config 5.3.3 → 5.4.0

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
@@ -284,6 +284,7 @@ async function unicorn(options) {
284
284
  rules: {
285
285
  "unicorn/catch-error-name": ["error", { name: "err" }],
286
286
  "unicorn/consistent-empty-array-spread": "error",
287
+ "unicorn/consistent-existence-index-check": "error",
287
288
  "unicorn/consistent-function-scoping": ["error", { checkArrowFunctions: false }],
288
289
  "unicorn/custom-error-definition": "error",
289
290
  "unicorn/error-message": "error",
@@ -309,6 +310,8 @@ async function unicorn(options) {
309
310
  "unicorn/prefer-dom-node-dataset": "error",
310
311
  "unicorn/prefer-dom-node-remove": "error",
311
312
  "unicorn/prefer-dom-node-text-content": "error",
313
+ "unicorn/prefer-global-this": "error",
314
+ "unicorn/prefer-math-min-max": "error",
312
315
  "unicorn/prefer-modern-dom-apis": "error",
313
316
  "unicorn/prefer-node-protocol": "error",
314
317
  "unicorn/prefer-number-properties": "error",
package/dist/index.js CHANGED
@@ -280,6 +280,7 @@ async function unicorn(options) {
280
280
  rules: {
281
281
  "unicorn/catch-error-name": ["error", { name: "err" }],
282
282
  "unicorn/consistent-empty-array-spread": "error",
283
+ "unicorn/consistent-existence-index-check": "error",
283
284
  "unicorn/consistent-function-scoping": ["error", { checkArrowFunctions: false }],
284
285
  "unicorn/custom-error-definition": "error",
285
286
  "unicorn/error-message": "error",
@@ -305,6 +306,8 @@ async function unicorn(options) {
305
306
  "unicorn/prefer-dom-node-dataset": "error",
306
307
  "unicorn/prefer-dom-node-remove": "error",
307
308
  "unicorn/prefer-dom-node-text-content": "error",
309
+ "unicorn/prefer-global-this": "error",
310
+ "unicorn/prefer-math-min-max": "error",
308
311
  "unicorn/prefer-modern-dom-apis": "error",
309
312
  "unicorn/prefer-node-protocol": "error",
310
313
  "unicorn/prefer-number-properties": "error",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tb-dev/eslint-config",
3
- "version": "5.3.3",
3
+ "version": "5.4.0",
4
4
  "description": "ESLint config",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -20,24 +20,24 @@
20
20
  "vue"
21
21
  ],
22
22
  "dependencies": {
23
- "@typescript-eslint/eslint-plugin": "^8.7.0",
24
- "@typescript-eslint/parser": "^8.7.0",
25
- "eslint-plugin-perfectionist": "^3.6.0",
23
+ "@typescript-eslint/eslint-plugin": "^8.8.0",
24
+ "@typescript-eslint/parser": "^8.8.0",
25
+ "eslint-plugin-perfectionist": "^3.8.0",
26
26
  "eslint-plugin-tailwindcss": "^3.17.4",
27
- "eslint-plugin-unicorn": "^55.0.0",
27
+ "eslint-plugin-unicorn": "^56.0.0",
28
28
  "eslint-plugin-vue": "^9.28.0",
29
- "globals": "^15.9.0",
29
+ "globals": "^15.10.0",
30
30
  "vue-eslint-parser": "^9.4.3"
31
31
  },
32
32
  "devDependencies": {
33
- "@types/node": "^22.6.0",
34
- "eslint": "^9.11.0",
33
+ "@types/node": "^22.7.4",
34
+ "eslint": "^9.11.1",
35
35
  "husky": "^9.1.6",
36
36
  "prettier": "^3.3.3",
37
37
  "tslib": "^2.7.0",
38
38
  "typescript": "^5.6.2",
39
- "vite": "^5.4.7",
40
- "vite-plugin-dts": "^4.2.1"
39
+ "vite": "^5.4.8",
40
+ "vite-plugin-dts": "^4.2.3"
41
41
  },
42
42
  "peerDependencies": {
43
43
  "eslint": "^9.8.0",