sindresorhus/eslint-plugin-unicorn

Support the ESLint Suggestions API

Chiusa

#441 aperta il 23 nov 2019

 (6 commenti) (8 reazioni) (0 assegnatari)JavaScript (468 fork)user submission
enhancementhelp wanted

Metriche repository

Star
 (5022 stelle)
Metriche merge PR
 (Merge medio 1g 16h) (399 PR mergiate in 30 g)

Descrizione

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

Guida contributor