@tofrankie/eslint 0.0.7 → 0.0.8

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.0.8 (2026-02-21)
4
+
5
+ - Update `style/quotes` rule
6
+
3
7
  ## eslint@0.0.7 (2026-02-21)
4
8
 
5
9
  - Update `style/operator-linebreak` rule
package/dist/index.cjs CHANGED
@@ -173,7 +173,10 @@ const STYLE_PRESET_RULES = {
173
173
  "style/quotes": [
174
174
  "error",
175
175
  "single",
176
- { avoidEscape: false }
176
+ {
177
+ avoidEscape: true,
178
+ allowTemplateLiterals: "avoidEscape"
179
+ }
177
180
  ],
178
181
  "style/arrow-parens": ["error", "as-needed"],
179
182
  "style/brace-style": [
package/dist/index.mjs CHANGED
@@ -144,7 +144,10 @@ const STYLE_PRESET_RULES = {
144
144
  "style/quotes": [
145
145
  "error",
146
146
  "single",
147
- { avoidEscape: false }
147
+ {
148
+ avoidEscape: true,
149
+ allowTemplateLiterals: "avoidEscape"
150
+ }
148
151
  ],
149
152
  "style/arrow-parens": ["error", "as-needed"],
150
153
  "style/brace-style": [
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tofrankie/eslint",
3
3
  "type": "module",
4
- "version": "0.0.7",
4
+ "version": "0.0.8",
5
5
  "description": "Shared ESLint configuration for @tofrankie projects",
6
6
  "author": "Frankie <1426203851@qq.com>",
7
7
  "license": "MIT",