@icebreakers/eslint-config 1.6.9 → 1.6.10

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
@@ -399,8 +399,15 @@ var BASE_DEFAULTS = {
399
399
  }
400
400
  };
401
401
  var BASE_RULES = {
402
+ // Disable all pnpm rules by default
403
+ // @antfu/eslint-config auto-enables pnpm plugin when pnpm-workspace.yaml exists
404
+ // but we want it opt-in instead of auto-enabled
402
405
  "pnpm/json-enforce-catalog": "off",
403
- // allow plain specifiers when pnpm catalogs aren't used by default
406
+ "pnpm/json-prefer-workspace-settings": "off",
407
+ "pnpm/json-valid-catalog": "off",
408
+ "pnpm/yaml-enforce-settings": "off",
409
+ "pnpm/yaml-no-duplicate-catalog-item": "off",
410
+ "pnpm/yaml-no-unused-catalog-item": "off",
404
411
  "unused-imports/no-unused-vars": "off",
405
412
  "unicorn/prefer-number-properties": "warn"
406
413
  };
package/dist/index.js CHANGED
@@ -375,8 +375,15 @@ var BASE_DEFAULTS = {
375
375
  }
376
376
  };
377
377
  var BASE_RULES = {
378
+ // Disable all pnpm rules by default
379
+ // @antfu/eslint-config auto-enables pnpm plugin when pnpm-workspace.yaml exists
380
+ // but we want it opt-in instead of auto-enabled
378
381
  "pnpm/json-enforce-catalog": "off",
379
- // allow plain specifiers when pnpm catalogs aren't used by default
382
+ "pnpm/json-prefer-workspace-settings": "off",
383
+ "pnpm/json-valid-catalog": "off",
384
+ "pnpm/yaml-enforce-settings": "off",
385
+ "pnpm/yaml-no-duplicate-catalog-item": "off",
386
+ "pnpm/yaml-no-unused-catalog-item": "off",
380
387
  "unused-imports/no-unused-vars": "off",
381
388
  "unicorn/prefer-number-properties": "warn"
382
389
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@icebreakers/eslint-config",
3
3
  "type": "module",
4
- "version": "1.6.9",
4
+ "version": "1.6.10",
5
5
  "description": "ESLint preset from Icebreaker's dev-configs",
6
6
  "author": "ice breaker <1324318532@qq.com>",
7
7
  "license": "MIT",
@@ -40,10 +40,18 @@
40
40
  "files": [
41
41
  "dist"
42
42
  ],
43
+ "peerDependencies": {
44
+ "eslint-plugin-pnpm": "^1.4.3"
45
+ },
46
+ "peerDependenciesMeta": {
47
+ "eslint-plugin-pnpm": {
48
+ "optional": true
49
+ }
50
+ },
43
51
  "dependencies": {
44
52
  "@antfu/eslint-config": "6.7.3",
45
- "@eslint-react/eslint-plugin": "^2.3.13",
46
- "@next/eslint-plugin-next": "^16.1.0",
53
+ "@eslint-react/eslint-plugin": "^2.4.0",
54
+ "@next/eslint-plugin-next": "^16.1.1",
47
55
  "@tanstack/eslint-plugin-query": "^5.91.2",
48
56
  "eslint-plugin-better-tailwindcss": "^3.8.0",
49
57
  "eslint-plugin-format": "1.1.0",
@@ -54,7 +62,7 @@
54
62
  "eslint-plugin-vuejs-accessibility": "^2.4.1"
55
63
  },
56
64
  "optionalDependencies": {
57
- "@unocss/eslint-plugin": "66.5.10",
65
+ "@unocss/eslint-plugin": "66.5.11",
58
66
  "eslint-plugin-mdx": "3.6.2"
59
67
  },
60
68
  "publishConfig": {