CLI
Bug fixes
- Fix #1508 by excluding deleted files from being processed. Contributed by @ematipico
Formatter
Bug fixes
-
Fix #1039. Check unicode width instead of number of bytes when checking if regex expression is a simple argument. Contributed by @kalleep
This no longer breaks.
s(/🚀🚀/).s().s();
JavaScript APIs
Linter
New features
-
Add the rule noSkippedTests, to disallow skipped tests:
describe.skip("test", () => {}); it.skip("test", () => {});
Contributed by @ematipico
-
Add the rule noFocusedTests, to disallow skipped tests:
describe.only("test", () => {}); it.only("test", () => {});
Contributed by @ematipico
-
Add rule noSortedClasses, to sort CSS utility classes:
- <div class="px-2 foo p-4 bar" /> + <div class="foo·bar·p-4·px-2" />
Contributed by @DaniGuardiola
What's Changed
Other changes
- fix: remove unneeded semicolon in the autofix suggestion by @togami2864 in #1638
- Update language-support.mdx by @millette in #1639
New Contributors
- @millette made their first contribution in #1639
- @DaniGuardiola made their first contribution in #1362
Full Changelog: cli/v1.5.3...cli/v1.5.3-nightly.24fcf19