@icebreakers/eslint-config 1.5.5 → 1.5.7
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 +3 -2
- package/dist/index.js +3 -2
- package/package.json +5 -5
package/dist/index.cjs
CHANGED
|
@@ -41,7 +41,7 @@ module.exports = __toCommonJS(index_exports);
|
|
|
41
41
|
var antfu_exports = {};
|
|
42
42
|
__reExport(antfu_exports, require("@antfu/eslint-config"));
|
|
43
43
|
|
|
44
|
-
// ../../node_modules/.pnpm/eslint-plugin-vue@10.5.
|
|
44
|
+
// ../../node_modules/.pnpm/eslint-plugin-vue@10.5.1_@stylistic+eslint-plugin@5.5.0_eslint@9.38.0_jiti@2.6.1___@typ_60c1d8ffb1e9d324193ae6dcde75a127/node_modules/eslint-plugin-vue/lib/utils/inline-non-void-elements.json
|
|
45
45
|
var inline_non_void_elements_default = [
|
|
46
46
|
"a",
|
|
47
47
|
"abbr",
|
|
@@ -386,7 +386,8 @@ var BASE_DEFAULTS = {
|
|
|
386
386
|
}
|
|
387
387
|
};
|
|
388
388
|
var BASE_RULES = {
|
|
389
|
-
"unused-imports/no-unused-vars": "off"
|
|
389
|
+
"unused-imports/no-unused-vars": "off",
|
|
390
|
+
"unicorn/prefer-number-properties": "warn"
|
|
390
391
|
};
|
|
391
392
|
function applyVueVersionSpecificRules(option) {
|
|
392
393
|
if (!option || typeof option !== "object") {
|
package/dist/index.js
CHANGED
|
@@ -17,7 +17,7 @@ var antfu_exports = {};
|
|
|
17
17
|
__reExport(antfu_exports, eslint_config_star);
|
|
18
18
|
import * as eslint_config_star from "@antfu/eslint-config";
|
|
19
19
|
|
|
20
|
-
// ../../node_modules/.pnpm/eslint-plugin-vue@10.5.
|
|
20
|
+
// ../../node_modules/.pnpm/eslint-plugin-vue@10.5.1_@stylistic+eslint-plugin@5.5.0_eslint@9.38.0_jiti@2.6.1___@typ_60c1d8ffb1e9d324193ae6dcde75a127/node_modules/eslint-plugin-vue/lib/utils/inline-non-void-elements.json
|
|
21
21
|
var inline_non_void_elements_default = [
|
|
22
22
|
"a",
|
|
23
23
|
"abbr",
|
|
@@ -362,7 +362,8 @@ var BASE_DEFAULTS = {
|
|
|
362
362
|
}
|
|
363
363
|
};
|
|
364
364
|
var BASE_RULES = {
|
|
365
|
-
"unused-imports/no-unused-vars": "off"
|
|
365
|
+
"unused-imports/no-unused-vars": "off",
|
|
366
|
+
"unicorn/prefer-number-properties": "warn"
|
|
366
367
|
};
|
|
367
368
|
function applyVueVersionSpecificRules(option) {
|
|
368
369
|
if (!option || typeof option !== "object") {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@icebreakers/eslint-config",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "1.5.
|
|
4
|
+
"version": "1.5.7",
|
|
5
5
|
"description": "ESLint preset from Icebreaker's dev-configs",
|
|
6
6
|
"author": "ice breaker <1324318532@qq.com>",
|
|
7
7
|
"license": "MIT",
|
|
@@ -41,13 +41,13 @@
|
|
|
41
41
|
"dist"
|
|
42
42
|
],
|
|
43
43
|
"dependencies": {
|
|
44
|
-
"@antfu/eslint-config": "6.
|
|
45
|
-
"@eslint-react/eslint-plugin": "^2.2.
|
|
46
|
-
"@next/eslint-plugin-next": "^16.0.
|
|
44
|
+
"@antfu/eslint-config": "6.1.0",
|
|
45
|
+
"@eslint-react/eslint-plugin": "^2.2.4",
|
|
46
|
+
"@next/eslint-plugin-next": "^16.0.1",
|
|
47
47
|
"eslint-plugin-better-tailwindcss": "^3.7.10",
|
|
48
48
|
"eslint-plugin-format": "1.0.2",
|
|
49
49
|
"eslint-plugin-jsx-a11y": "^6.10.2",
|
|
50
|
-
"eslint-plugin-react-hooks": "^7.0.
|
|
50
|
+
"eslint-plugin-react-hooks": "^7.0.1",
|
|
51
51
|
"eslint-plugin-react-refresh": "^0.4.24",
|
|
52
52
|
"eslint-plugin-tailwindcss": "3.18.2",
|
|
53
53
|
"eslint-plugin-vuejs-accessibility": "^2.4.1"
|