@jiakun-zhao/eslint-config 1.1.5 → 1.1.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 -5
- package/package.json +2 -4
package/dist/index.cjs
CHANGED
|
@@ -31,8 +31,7 @@ const ignorePatterns = [
|
|
|
31
31
|
const index = {
|
|
32
32
|
plugins: [
|
|
33
33
|
"unicorn",
|
|
34
|
-
"unused-imports"
|
|
35
|
-
"antfu"
|
|
34
|
+
"unused-imports"
|
|
36
35
|
],
|
|
37
36
|
extends: [
|
|
38
37
|
"standard",
|
|
@@ -87,6 +86,7 @@ const index = {
|
|
|
87
86
|
"react/display-name": "off",
|
|
88
87
|
"react/jsx-indent": ["error", 2],
|
|
89
88
|
"react/jsx-indent-props": ["error", 2],
|
|
89
|
+
"react/jsx-max-depth": "off",
|
|
90
90
|
"react/jsx-filename-extension": "off",
|
|
91
91
|
"react/jsx-no-literals": "off",
|
|
92
92
|
"react/jsx-max-props-per-line": "off",
|
|
@@ -137,9 +137,7 @@ const index = {
|
|
|
137
137
|
"comma-dangle": ["error", "always-multiline"],
|
|
138
138
|
"@typescript-eslint/comma-dangle": ["error", "always-multiline"],
|
|
139
139
|
// unicorn
|
|
140
|
-
"unicorn/prefer-node-protocol": "error"
|
|
141
|
-
// antfu
|
|
142
|
-
"antfu/if-newline": "error"
|
|
140
|
+
"unicorn/prefer-node-protocol": "error"
|
|
143
141
|
}
|
|
144
142
|
};
|
|
145
143
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jiakun-zhao/eslint-config",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.7",
|
|
4
4
|
"description": "Jiakun's ESLint config.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"eslint-config"
|
|
@@ -18,9 +18,7 @@
|
|
|
18
18
|
},
|
|
19
19
|
"dependencies": {
|
|
20
20
|
"@typescript-eslint/eslint-plugin": "^6.1.0",
|
|
21
|
-
"@typescript-eslint/parser": "^6.1.0",
|
|
22
21
|
"eslint-config-standard": "^17.1.0",
|
|
23
|
-
"eslint-plugin-antfu": "^0.39.8",
|
|
24
22
|
"eslint-plugin-import": "^2.27.5",
|
|
25
23
|
"eslint-plugin-n": "^16.0.1",
|
|
26
24
|
"eslint-plugin-promise": "^6.1.1",
|
|
@@ -40,7 +38,7 @@
|
|
|
40
38
|
"peerDependencies": {
|
|
41
39
|
"eslint": ">=7.4.0"
|
|
42
40
|
},
|
|
43
|
-
"packageManager": "pnpm@8.6.
|
|
41
|
+
"packageManager": "pnpm@8.6.9",
|
|
44
42
|
"scripts": {
|
|
45
43
|
"build": "unbuild",
|
|
46
44
|
"release": "bumpp && pnpm publish",
|