@tofrankie/eslint 0.0.5 → 0.0.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/CHANGELOG.md +8 -0
- package/dist/index.cjs +5 -1
- package/dist/index.mjs +5 -1
- package/package.json +13 -5
package/CHANGELOG.md
CHANGED
package/dist/index.cjs
CHANGED
|
@@ -184,7 +184,11 @@ const STYLE_PRESET_RULES = {
|
|
|
184
184
|
"style/operator-linebreak": [
|
|
185
185
|
"error",
|
|
186
186
|
"before",
|
|
187
|
-
{ overrides: {
|
|
187
|
+
{ overrides: {
|
|
188
|
+
"&&": "after",
|
|
189
|
+
"||": "after",
|
|
190
|
+
"=": "after"
|
|
191
|
+
} }
|
|
188
192
|
],
|
|
189
193
|
"style/comma-dangle": "off"
|
|
190
194
|
};
|
package/dist/index.mjs
CHANGED
|
@@ -155,7 +155,11 @@ const STYLE_PRESET_RULES = {
|
|
|
155
155
|
"style/operator-linebreak": [
|
|
156
156
|
"error",
|
|
157
157
|
"before",
|
|
158
|
-
{ overrides: {
|
|
158
|
+
{ overrides: {
|
|
159
|
+
"&&": "after",
|
|
160
|
+
"||": "after",
|
|
161
|
+
"=": "after"
|
|
162
|
+
} }
|
|
159
163
|
],
|
|
160
164
|
"style/comma-dangle": "off"
|
|
161
165
|
};
|
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.7",
|
|
5
5
|
"description": "Shared ESLint configuration for @tofrankie projects",
|
|
6
6
|
"author": "Frankie <1426203851@qq.com>",
|
|
7
7
|
"license": "MIT",
|
|
@@ -16,9 +16,16 @@
|
|
|
16
16
|
"tofrankie"
|
|
17
17
|
],
|
|
18
18
|
"exports": {
|
|
19
|
-
"
|
|
20
|
-
|
|
21
|
-
|
|
19
|
+
".": {
|
|
20
|
+
"import": {
|
|
21
|
+
"types": "./dist/index.d.mts",
|
|
22
|
+
"default": "./dist/index.mjs"
|
|
23
|
+
},
|
|
24
|
+
"require": {
|
|
25
|
+
"types": "./dist/index.d.cts",
|
|
26
|
+
"default": "./dist/index.cjs"
|
|
27
|
+
}
|
|
28
|
+
}
|
|
22
29
|
},
|
|
23
30
|
"main": "dist/index.cjs",
|
|
24
31
|
"module": "dist/index.mjs",
|
|
@@ -51,6 +58,7 @@
|
|
|
51
58
|
"eslint": "^9.39.2"
|
|
52
59
|
},
|
|
53
60
|
"scripts": {
|
|
54
|
-
"build": "tsdown"
|
|
61
|
+
"build": "tsdown",
|
|
62
|
+
"publint": "publint"
|
|
55
63
|
}
|
|
56
64
|
}
|