eslint-plugin-varspacing

1.2.2 • Public • Published

eslint-plugin-varspacing

pipeline status npm version Build Status

This plugin ships a simple and fixable ESLint rule to check if variable declarations are properly aligned.

Installation

In order to activate the plugin the following options must be present in .eslintrc:

{
  "plugins": [
    "varspacing"
  ],
  "extends": "plugin:varspacing/recommended"
}

Please refer to the var-spacing docs for further details about the ruleset.

Hacking

It's recommended to use the nix package manager for development purposes.

A customized developer shell can be opened like this:

$ nix-shell
[nix-shell]$ yarn
[nix-shell]$ yarn test

License

This module is published under MIT license. Please refer to the LICENSE that was distributed with this package for further legal information.

Package Sidebar

Install

npm i eslint-plugin-varspacing

Weekly Downloads

4,461

Version

1.2.2

License

MIT

Unpacked Size

22.1 kB

Total Files

18

Last publish

Collaborators

  • ma27