@tofrankie/eslint 0.0.12 → 0.0.14
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/CHANGELOG.md +8 -0
- package/dist/index.cjs +8 -4
- package/dist/index.mjs +8 -4
- package/package.json +2 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## eslint@0.0.14 (2026-03-14)
|
|
4
|
+
|
|
5
|
+
- Move `@antfu/eslint-config` from `peerDependencies` to `dependencies`
|
|
6
|
+
|
|
7
|
+
## eslint@0.0.13 (2026-03-14)
|
|
8
|
+
|
|
9
|
+
- Disable `style/multiline-ternary`, `style/jsx-wrap-multilines`, `style/jsx-curly-newline`, `style/jsx-one-expression-per-line` rules to avoid conflicts with Prettier
|
|
10
|
+
|
|
3
11
|
## eslint@0.0.12 (2026-03-13)
|
|
4
12
|
|
|
5
13
|
- Update `style/operator-linebreak` rule
|
package/dist/index.cjs
CHANGED
|
@@ -208,9 +208,6 @@ const STYLE_PRESET_RULES = {
|
|
|
208
208
|
"&": "after"
|
|
209
209
|
} }
|
|
210
210
|
],
|
|
211
|
-
"style/comma-dangle": "off",
|
|
212
|
-
"style/indent": "off",
|
|
213
|
-
"style/indent-binary-ops": "off",
|
|
214
211
|
"style/member-delimiter-style": ["error", {
|
|
215
212
|
multiline: {
|
|
216
213
|
delimiter: "none",
|
|
@@ -225,7 +222,14 @@ const STYLE_PRESET_RULES = {
|
|
|
225
222
|
delimiter: "none",
|
|
226
223
|
requireLast: false
|
|
227
224
|
} } }
|
|
228
|
-
}]
|
|
225
|
+
}],
|
|
226
|
+
"style/comma-dangle": "off",
|
|
227
|
+
"style/indent": "off",
|
|
228
|
+
"style/indent-binary-ops": "off",
|
|
229
|
+
"style/multiline-ternary": "off",
|
|
230
|
+
"style/jsx-wrap-multilines": "off",
|
|
231
|
+
"style/jsx-curly-newline": "off",
|
|
232
|
+
"style/jsx-one-expression-per-line": "off"
|
|
229
233
|
};
|
|
230
234
|
|
|
231
235
|
//#endregion
|
package/dist/index.mjs
CHANGED
|
@@ -179,9 +179,6 @@ const STYLE_PRESET_RULES = {
|
|
|
179
179
|
"&": "after"
|
|
180
180
|
} }
|
|
181
181
|
],
|
|
182
|
-
"style/comma-dangle": "off",
|
|
183
|
-
"style/indent": "off",
|
|
184
|
-
"style/indent-binary-ops": "off",
|
|
185
182
|
"style/member-delimiter-style": ["error", {
|
|
186
183
|
multiline: {
|
|
187
184
|
delimiter: "none",
|
|
@@ -196,7 +193,14 @@ const STYLE_PRESET_RULES = {
|
|
|
196
193
|
delimiter: "none",
|
|
197
194
|
requireLast: false
|
|
198
195
|
} } }
|
|
199
|
-
}]
|
|
196
|
+
}],
|
|
197
|
+
"style/comma-dangle": "off",
|
|
198
|
+
"style/indent": "off",
|
|
199
|
+
"style/indent-binary-ops": "off",
|
|
200
|
+
"style/multiline-ternary": "off",
|
|
201
|
+
"style/jsx-wrap-multilines": "off",
|
|
202
|
+
"style/jsx-curly-newline": "off",
|
|
203
|
+
"style/jsx-one-expression-per-line": "off"
|
|
200
204
|
};
|
|
201
205
|
|
|
202
206
|
//#endregion
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tofrankie/eslint",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.14",
|
|
5
5
|
"description": "Shared ESLint configuration",
|
|
6
6
|
"author": "Frankie <1426203851@qq.com>",
|
|
7
7
|
"license": "MIT",
|
|
@@ -41,10 +41,10 @@
|
|
|
41
41
|
"node": ">=18"
|
|
42
42
|
},
|
|
43
43
|
"peerDependencies": {
|
|
44
|
-
"@antfu/eslint-config": "^7.6.1",
|
|
45
44
|
"eslint": "^9.10.0 || ^10.0.0"
|
|
46
45
|
},
|
|
47
46
|
"dependencies": {
|
|
47
|
+
"@antfu/eslint-config": "^7.7.2",
|
|
48
48
|
"@eslint-react/eslint-plugin": "^2.13.0",
|
|
49
49
|
"eslint-plugin-format": "^2.0.1",
|
|
50
50
|
"eslint-plugin-jsdoc": "^62.8.0",
|
|
@@ -53,7 +53,6 @@
|
|
|
53
53
|
"lodash.merge": "^4.6.2"
|
|
54
54
|
},
|
|
55
55
|
"devDependencies": {
|
|
56
|
-
"@antfu/eslint-config": "^7.7.2",
|
|
57
56
|
"@types/lodash.merge": "^4.6.9",
|
|
58
57
|
"eslint": "^9.39.4"
|
|
59
58
|
},
|