1.0.2 • Published 9 months ago

eslint-plugin-eslint-split-vars v1.0.2

Weekly downloads
-
License
MIT
Repository
-
Last release
9 months ago

/##### 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;