This repository has been archived by the owner on Mar 25, 2021. It is now read-only.
v5.10.0
v5.10.0
🎉 Features
- [new-rule]
prefer-while
(#3750) - [new-fixer]
comment-format
(#3845) - [new-rule-option]
"allow-empty-functions"
forno-empty
rule (#3624) - [new-rule-option] New options for
promise-function-async
specifying what kinds of functions to check (#3807)
🛠️ Bugfixes & enhancements
- [bugfix]
file-header
rule plays nice withno-trailing-whitespace
rule (#3802) - [bugfix]
no-unbound-method
rule allows square bracket property access (#3610) - [bugfix]
no-unsafe-any
no longer marks native JSX elements as unsafe (#3699) - [enhancement]
file-header
auto-fixes use '!' character to ensure header stays above imports (#3741) - [enhancement] Better error messages if a rule crashes (#3836)
- [enhancement] Better error messages when no valid rules are specified (#3729)
- [enhancement] Better lint messages for unused imports in
no-unused-variable
rule (#3831) - [docs] Improve documentation of cli flag --project (#3703)
- [docs] Added short rationales for about thirty rules (#3734)
- [docs] Added optional capability to provide code examples in rules' metadata (#3602)
- [docs] Many small docs fixes and tweaks from many great contributors!
Thanks to our contributors!
- Achim Weimert
- BB9z
- Blair Zajac
- Chia-Lun Wu (Leo)
- Ethan
- Janis Koehr
- Josh Goldberg
- Julian Verdurmen
- Lucas Sloan
- Mark Vincze
- Martin Möhwald
- Oliver Joseph Ash
- Pichest Wongsiripiphat
- Rafael Santana
- Ruben Bridgewater
- Ryan Waskiewicz
- Sehrope Sarkuni
- Suchan Lee
- Victor Belozyorov
- aervin_
- cwgorman
- felipeissa
- jishi9