0.1.2 • Published 9 years ago
eslint-plugin-vars-on-top-without-for v0.1.2
eslint plugin vars-on-top-without-for

ESLint rule to enforce var declarations are only at the top of a function but excluding
forloops.
Summary
This repository will give access to a modified vars-on-top rule for the ESLint tool.
Usage
Install
eslintas a dev-dependency:npm install --save-dev eslintInstall
eslint-plugin-vars-on-top-without-foras a dev-dependency:npm install --save-dev eslint-plugin-vars-on-top-without-forEnable the plugin by adding it to your
.eslintrc:plugins: - vars-on-top-without-for