@tofrankie/eslint 0.2.0 → 0.2.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/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ ## eslint@0.2.1 (2026-04-09)
4
+
5
+ - Update `style/operator-linebreak` rule
6
+
3
7
  ## eslint@0.2.0 (2026-04-09)
4
8
 
5
9
  - Update `@antfu/eslint-config` to `v8.1.1`
package/dist/index.cjs CHANGED
@@ -163,7 +163,8 @@ const STYLISTIC_RULES = {
163
163
  "after",
164
164
  { overrides: {
165
165
  "?": "before",
166
- ":": "before"
166
+ ":": "before",
167
+ "|": "before"
167
168
  } }
168
169
  ],
169
170
  "style/member-delimiter-style": ["error", {
package/dist/index.mjs CHANGED
@@ -140,7 +140,8 @@ const STYLISTIC_RULES = {
140
140
  "after",
141
141
  { overrides: {
142
142
  "?": "before",
143
- ":": "before"
143
+ ":": "before",
144
+ "|": "before"
144
145
  } }
145
146
  ],
146
147
  "style/member-delimiter-style": ["error", {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tofrankie/eslint",
3
3
  "type": "module",
4
- "version": "0.2.0",
4
+ "version": "0.2.1",
5
5
  "description": "Shared ESLint configuration",
6
6
  "author": "Frankie <1426203851@qq.com>",
7
7
  "license": "MIT",