@icebreakers/eslint-config 4.0.11 → 5.0.1
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/{dist-D2WUqnUR.cjs → dist-Br-vKI2G.cjs} +642 -2812
- package/dist/{dist-3Yuo5ZWh.js → dist-Dk5MjvLV.js} +642 -2812
- package/dist/index.cjs +3 -15
- package/dist/index.js +3 -15
- package/dist/{lib-Du7EF351.js → lib-DS3f4hEx.js} +17950 -17173
- package/dist/{lib-VdWhDy2o.cjs → lib-gbm6XY5m.cjs} +17950 -17173
- package/dist/{modern-D06QebMM.cjs → modern-BlDFWU8k.cjs} +2 -2
- package/dist/{modern-DE63O_Ru.js → modern-DnYnDvqZ.js} +2 -2
- package/package.json +9 -9
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
require("./chunk-BrWF7lJc.cjs");
|
|
2
2
|
let _typescript_eslint_utils = require("@typescript-eslint/utils");
|
|
3
|
-
//#region ../../node_modules/.pnpm/@tanstack+eslint-plugin-query@5.100.
|
|
3
|
+
//#region ../../node_modules/.pnpm/@tanstack+eslint-plugin-query@5.100.10_eslint@10.3.0_jiti@2.7.0__typescript@6.0.3/node_modules/@tanstack/eslint-plugin-query/build/modern/chunk-CI2SSAE2.js
|
|
4
4
|
function uniqueBy(arr, fn) {
|
|
5
5
|
return arr.filter((x, i, a) => a.findIndex((y) => fn(x) === fn(y)) === i);
|
|
6
6
|
}
|
|
@@ -1097,7 +1097,7 @@ var rules = {
|
|
|
1097
1097
|
[name8]: rule8
|
|
1098
1098
|
};
|
|
1099
1099
|
//#endregion
|
|
1100
|
-
//#region ../../node_modules/.pnpm/@tanstack+eslint-plugin-query@5.100.
|
|
1100
|
+
//#region ../../node_modules/.pnpm/@tanstack+eslint-plugin-query@5.100.10_eslint@10.3.0_jiti@2.7.0__typescript@6.0.3/node_modules/@tanstack/eslint-plugin-query/build/modern/index.js
|
|
1101
1101
|
var recommendedRules = {
|
|
1102
1102
|
"@tanstack/query/exhaustive-deps": "error",
|
|
1103
1103
|
"@tanstack/query/no-rest-destructuring": "warn",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AST_NODE_TYPES, ESLintUtils, TSESTree } from "@typescript-eslint/utils";
|
|
2
|
-
//#region ../../node_modules/.pnpm/@tanstack+eslint-plugin-query@5.100.
|
|
2
|
+
//#region ../../node_modules/.pnpm/@tanstack+eslint-plugin-query@5.100.10_eslint@10.3.0_jiti@2.7.0__typescript@6.0.3/node_modules/@tanstack/eslint-plugin-query/build/modern/chunk-CI2SSAE2.js
|
|
3
3
|
function uniqueBy(arr, fn) {
|
|
4
4
|
return arr.filter((x, i, a) => a.findIndex((y) => fn(x) === fn(y)) === i);
|
|
5
5
|
}
|
|
@@ -1096,7 +1096,7 @@ var rules = {
|
|
|
1096
1096
|
[name8]: rule8
|
|
1097
1097
|
};
|
|
1098
1098
|
//#endregion
|
|
1099
|
-
//#region ../../node_modules/.pnpm/@tanstack+eslint-plugin-query@5.100.
|
|
1099
|
+
//#region ../../node_modules/.pnpm/@tanstack+eslint-plugin-query@5.100.10_eslint@10.3.0_jiti@2.7.0__typescript@6.0.3/node_modules/@tanstack/eslint-plugin-query/build/modern/index.js
|
|
1100
1100
|
var recommendedRules = {
|
|
1101
1101
|
"@tanstack/query/exhaustive-deps": "error",
|
|
1102
1102
|
"@tanstack/query/no-rest-destructuring": "warn",
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@icebreakers/eslint-config",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "
|
|
4
|
+
"version": "5.0.1",
|
|
5
5
|
"description": "ESLint preset from Icebreaker's dev-configs",
|
|
6
6
|
"author": "ice breaker <1324318532@qq.com>",
|
|
7
7
|
"license": "MIT",
|
|
@@ -50,20 +50,20 @@
|
|
|
50
50
|
}
|
|
51
51
|
},
|
|
52
52
|
"dependencies": {
|
|
53
|
-
"@antfu/eslint-config": "
|
|
54
|
-
"@eslint-react/eslint-plugin": "^
|
|
55
|
-
"@typescript-eslint/rule-tester": "^8.59.
|
|
56
|
-
"@typescript-eslint/typescript-estree": "^8.59.
|
|
57
|
-
"@typescript-eslint/utils": "^8.59.
|
|
53
|
+
"@antfu/eslint-config": "9.0.0",
|
|
54
|
+
"@eslint-react/eslint-plugin": "^5.7.7",
|
|
55
|
+
"@typescript-eslint/rule-tester": "^8.59.3",
|
|
56
|
+
"@typescript-eslint/typescript-estree": "^8.59.3",
|
|
57
|
+
"@typescript-eslint/utils": "^8.59.3",
|
|
58
58
|
"@vue/compiler-sfc": "^3.5.34",
|
|
59
|
-
"eslint-flat-config-utils": "3.
|
|
59
|
+
"eslint-flat-config-utils": "3.2.0",
|
|
60
60
|
"eslint-plugin-better-tailwindcss": "^4.5.0",
|
|
61
61
|
"eslint-plugin-format": "2.0.1",
|
|
62
62
|
"eslint-plugin-react-hooks": "^7.1.1",
|
|
63
63
|
"eslint-plugin-react-refresh": "^0.5.2",
|
|
64
64
|
"eslint-plugin-tailwindcss": "3.18.3",
|
|
65
|
-
"
|
|
66
|
-
"
|
|
65
|
+
"@icebreakers/stylelint-config": "4.0.1",
|
|
66
|
+
"eslint-plugin-better-stylelint": "1.0.4"
|
|
67
67
|
},
|
|
68
68
|
"publishConfig": {
|
|
69
69
|
"access": "public",
|