sindresorhus/eslint-plugin-unicorn
Support the ESLint Suggestions API
Closed
#441 opened on Nov 23, 2019
enhancementhelp wanted
Repository metrics
- Stars
- (5,022 stars)
- PR merge metrics
- (Avg merge 1d 16h) (399 merged PRs in 30d)
Description
There have been many cases where we could not provide auto-fixers because it was either not safe or there were multiple possible fixes. The Suggestions API enables us to provide multiple fixes that can be manually chosen by a user in an editor.
We should go through existing rules with no auto-fixers or with incomplete auto-fixers and make them support the Suggestions API.
This will be especially useful for https://github.com/sindresorhus/eslint-plugin-unicorn/issues/460#issuecomment-560090551