This package has been deprecated

Author message:

replaced by eslint-plugin-m99coder

eslint-plugin-vars-on-top-without-for

0.1.2 • Public • Published

eslint plugin vars-on-top-without-for Npm version Npm downloads per month

ESLint rule to enforce var declarations are only at the top of a function but excluding for loops.

Build Status Test Coverage Npm dependencies devDependency Status

Summary

This repository will give access to a modified vars-on-top rule for the ESLint tool.

Usage

  1. Install eslint as a dev-dependency:

    npm install --save-dev eslint
  2. Install eslint-plugin-vars-on-top-without-for as a dev-dependency:

    npm install --save-dev eslint-plugin-vars-on-top-without-for
  3. Enable the plugin by adding it to your .eslintrc:

    plugins:
      - vars-on-top-without-for

Package Sidebar

Install

npm i eslint-plugin-vars-on-top-without-for

Weekly Downloads

0

Version

0.1.2

License

MIT

Last publish

Collaborators

  • m99coder