eslint-plugin-eslint-split-vars
v1.0.2
Published
An Eslint Autofixer for comma sepearted variable declarations
Downloads
47
Maintainers
Readme
/##### ESLINT Custom Rule to split vars and autofix it #######/
This is to specifically handle instances where you try to remove unused variables references in a single line without formatting.
Sample below:
Fixed a critical bug witht the autofix mapping over the Node Declarations
var a, b, c;
npx eslint yourscript.js --fix
var a;
var b;
var c;