fkling / astexplorer

A web tool to explore the ASTs generated by various parsers.
https://astexplorer.net/
MIT License
6.05k stars 711 forks source link

Improve ESLint v8 example rule #656

Closed guilhermesimoes closed 2 years ago

guilhermesimoes commented 2 years ago

Fixes the current error that appears on the site when you delete the ${i} from the example:

Fixable rules must set the meta.fixable property to "code" or "whitespace". Occurred while linting :18 Rule: "astExplorerRule"

With this change it will be easier to modify the example rule to make fixes and suggestions.

fkling commented 2 years ago

Thank you!

evenjxr commented 2 years ago

when i can use it ?

guilhermesimoes commented 2 years ago

It's already live!