@tb-dev/eslint-config 10.0.12 → 10.0.13

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.
Files changed (2) hide show
  1. package/dist/index.js +3 -2
  2. package/package.json +7 -7
package/dist/index.js CHANGED
@@ -278,17 +278,19 @@ async function unicorn(options) {
278
278
  return {
279
279
  plugins: { unicorn: plugin },
280
280
  rules: {
281
+ "unicorn/better-dom-traversing": "error",
281
282
  "unicorn/catch-error-name": ["error", { name: "err" }],
282
283
  "unicorn/consistent-date-clone": "error",
283
284
  "unicorn/consistent-empty-array-spread": "error",
284
285
  "unicorn/consistent-existence-index-check": "error",
285
286
  "unicorn/consistent-function-scoping": ["error", { checkArrowFunctions: false }],
286
287
  "unicorn/custom-error-definition": "error",
288
+ "unicorn/dom-node-dataset": "error",
287
289
  "unicorn/error-message": "error",
288
- "unicorn/no-array-for-each": "off",
289
290
  "unicorn/no-array-method-this-argument": "error",
290
291
  "unicorn/no-await-expression-member": "error",
291
292
  "unicorn/no-await-in-promise-methods": "error",
293
+ "unicorn/no-for-each": "off",
292
294
  "unicorn/no-immediate-mutation": "error",
293
295
  "unicorn/no-invalid-fetch-options": "error",
294
296
  "unicorn/no-invalid-remove-event-listener": "error",
@@ -310,7 +312,6 @@ async function unicorn(options) {
310
312
  "unicorn/prefer-classlist-toggle": "error",
311
313
  "unicorn/prefer-date-now": "error",
312
314
  "unicorn/prefer-dom-node-append": "error",
313
- "unicorn/prefer-dom-node-dataset": "error",
314
315
  "unicorn/prefer-dom-node-remove": "error",
315
316
  "unicorn/prefer-dom-node-text-content": "error",
316
317
  "unicorn/prefer-import-meta-properties": "error",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tb-dev/eslint-config",
3
- "version": "10.0.12",
3
+ "version": "10.0.13",
4
4
  "description": "ESLint config",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -19,17 +19,17 @@
19
19
  "eslint-config"
20
20
  ],
21
21
  "dependencies": {
22
- "@typescript-eslint/eslint-plugin": "^8.60.1",
23
- "@typescript-eslint/parser": "^8.60.1",
24
- "eslint-plugin-perfectionist": "^5.9.0",
25
- "eslint-plugin-unicorn": "^64.0.0",
22
+ "@typescript-eslint/eslint-plugin": "^8.61.1",
23
+ "@typescript-eslint/parser": "^8.61.1",
24
+ "eslint-plugin-perfectionist": "^5.9.1",
25
+ "eslint-plugin-unicorn": "^68.0.0",
26
26
  "eslint-plugin-vue": "^10.9.2",
27
27
  "globals": "^17.6.0",
28
28
  "vue-eslint-parser": "^10.4.1"
29
29
  },
30
30
  "devDependencies": {
31
- "@types/node": "^25.9.1",
32
- "eslint": "^10.4.1",
31
+ "@types/node": "^26.0.0",
32
+ "eslint": "^10.5.0",
33
33
  "tslib": "^2.8.1",
34
34
  "typescript": "^6.0.3",
35
35
  "unplugin-dts": "^1.0.2",