@icebreakers/eslint-config 0.3.8 → 0.3.9

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
@@ -75,7 +75,9 @@ function icebreaker(options = {}, ...userConfigs) {
75
75
  "ts/prefer-ts-expect-error": "off",
76
76
  "ts/ban-ts-comment": "off",
77
77
  "vue/attribute-hyphenation": "off",
78
- "unused-imports/no-unused-imports": "error"
78
+ // 问题在于 auto fix 的时候,会直接 remove 整个 import ,而我们想让用户自己去 remove
79
+ // 'unused-imports/no-unused-imports': 'error',
80
+ "no-unused-vars": "warn"
79
81
  }
80
82
  }
81
83
  ];
package/dist/index.mjs CHANGED
@@ -73,7 +73,9 @@ function icebreaker(options = {}, ...userConfigs) {
73
73
  "ts/prefer-ts-expect-error": "off",
74
74
  "ts/ban-ts-comment": "off",
75
75
  "vue/attribute-hyphenation": "off",
76
- "unused-imports/no-unused-imports": "error"
76
+ // 问题在于 auto fix 的时候,会直接 remove 整个 import ,而我们想让用户自己去 remove
77
+ // 'unused-imports/no-unused-imports': 'error',
78
+ "no-unused-vars": "warn"
77
79
  }
78
80
  }
79
81
  ];
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@icebreakers/eslint-config",
3
3
  "type": "module",
4
- "version": "0.3.8",
4
+ "version": "0.3.9",
5
5
  "description": "icebreakers's eslint config",
6
6
  "author": "SonOfMagic <qq1324318532@gmail.com>",
7
7
  "license": "MIT",
@@ -36,7 +36,7 @@
36
36
  "@antfu/eslint-config": "2.21.1",
37
37
  "eslint-plugin-format": "0.1.2",
38
38
  "eslint-plugin-mdx": "3.1.5",
39
- "eslint-plugin-tailwindcss": "3.17.3",
39
+ "eslint-plugin-tailwindcss": "3.17.4",
40
40
  "local-pkg": "0.5.0"
41
41
  },
42
42
  "publishConfig": {