linter-eslint icon indicating copy to clipboard operation
linter-eslint copied to clipboard

Support new eslint suggestions API

Open wdoug opened this issue 4 years ago • 0 comments

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)

wdoug avatar Dec 03 '19 15:12 wdoug