Skip to content
This repository has been archived by the owner on Aug 7, 2023. It is now read-only.

Support new eslint suggestions API #1309

Open
wdoug opened this issue Dec 3, 2019 · 0 comments
Open

Support new eslint suggestions API #1309

wdoug opened this issue Dec 3, 2019 · 0 comments

Comments

@wdoug
Copy link

wdoug commented Dec 3, 2019

Issue Type

Feature Request

Issue Description

Eslint has a new Suggestions API that was initially described in this RFC, and recently merged and released in eslint 6.7.0.

The suggestions API provides information for users to manually apply fixes for lint issues that don't have enough context to be auto-fixable. Here is an example of how it would work:

new RegExp("*\.js", "u")
//           ^^
//           ├ Remove the `\`. This maintains the current functionality. (no-useless-escape)
//           └ Replace the `\` with `\\` to include the actual backslash character. (no-useless-escape)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants