Releases: eslint-stylistic/eslint-stylistic
Releases · eslint-stylistic/eslint-stylistic
v1.5.1
🚀 Features
- Replace
graphemer
withIntl.Segmenter
- by @ota-meshi in #220 (e09f2)
🐞 Bug Fixes
- Graphemer CJS interop, close #216 - by @antfu in #216 (9ca6c)
- js/function-paren-newline: Prevent newline error in type parameter - by @levchak0910 and @antfu in #207 (c37f3)
- ts/no-extra-parens: Cover more unnecessary parens case - by @kecrily and @antfu in #217 (1a7fd)
- ts/padding-line-between-statements: Add new
function-overload
statement type, close #190 - by @antfu in #213 and #190 (32296)
View changes on GitHub
v1.5.0
🚀 Features
- Rules list on eslint.style gets search and category filters:
-
Introduce
@stylistic/eslint-plugin-plus
, a package holding new rules introduced by ESLint Stylistic - #203 (02b73) -
configs: Enable extra rules in the configs factory - #205 (58f22)
🐞 Bug Fixes
- Remove duplicate rule in
all
configs - by @abrahamguo in #199 (01eee) - configs: Improve fixture testing, update
all
config to improve compatibility - #204 (5fb18) - ts/quotes: Allow backtick literals, but forbid backtick import assertions - by @abrahamguo in #191 (59ff2)
View changes on GitHub
v1.5.0-beta.0
🚀 Features
- Introduce
@stylistic/eslint-plugin-plus
- by @antfu in #203 (02b73) - configs: Enable extra rules in the configs factory - by @antfu in #205 (58f22)
- indent-binary-ops: New rule - by @antfu in #202 (97166)
- js/no-multi-spaces: New
includeTabs
option - by @antfu in #195 (be417) - type-generic-spacing: New rule - by @antfu in #200 (1a871)
- type-named-tuple-spacing: New rule - by @antfu in #201 (8a66a)
🐞 Bug Fixes
- Remove duplicate rule in
all
configs - by @abrahamguo in #199 (01eee) - configs: Improve fixture testing, update
all
config to improve compatibility - by @antfu in #204 (5fb18) - ts/quotes: Allow backtick literals, but forbid backtick import assertions - by @abrahamguo in #191 (59ff2)
View changes on GitHub
v1.4.1
v1.4.0
v1.3.3
🚀 Features
- ts/lines-around-comment: Add missing
afterHashbangComment
in schema, fix #75 - by @antfu in #161 and #75 (39133)
🐞 Bug Fixes
- comma-dangle: Only add comma when it's in brackets, fix #158 - by @antfu in #160 and #158 (b3460)
- eslint-plugin: Rename config
recommended-legacy
torecommended-extends
- by @antfu in #166 (303d6) - ts/padding-line-between-statements: Support
cjs-import
andcjs-export
statement type - by @antfu in #162 (58aac)
View changes on GitHub
v1.3.2
v1.3.1
v1.3.0
New Features
🛠️ Shared Configs
We introduced customizable shared configs that you can use out-of-box, learn more at https://eslint.style/guide/config-presets
Refactoring
🦾 TypeScript
We have migrated all rules to TypeScript, thanks a lot to @Namchee @alexzhang1030 @auvred @ntnyq @starknt @kecrily @Dhoni77 @coderwyd @albizures @aldillek for their contributions. This improves our long-term maintainability by a lot.
🧪 Code Coverage
We managed to reach 99.5% of code coverage:
This is mostly inherited from the original codebase. Thanks to the original maintainers of those rules to have such high-standard test cases.
View changes on GitHub
v1.2.0
🚀 Features
- Update types generation script - by @antfu (0e368)
- Partial migrate to ts - by @antfu in #66 (a8803)
- Provide
disable-legacy
config preset - by @antfu in #69 (d7952) - Rename
func-call-spacing
tofunction-call-spacing
, provide back alias - by @Namchee and @antfu in #63 (95b60)