1.2.2 • Published 5 years ago
@privyid/eslint-plugin-varspacing v1.2.2
eslint-plugin-varspacing
Forking from https://gitlab.com/Ma27/eslint-plugin-varspacing
This plugin ships a simple and fixable ESLint rule to check if variable declarations are properly aligned.
Installation
npm install --save-dev eslint eslint eslint-plugin-varspacing
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]$ npm test
Furthermore it's possible to actually build the package:
nix-build -A package tarball
To regenerate the locked package build run the following command:
node2nix . --supplement-input mocha.json -6 --composition nix/default.nix --node-env nix/node-env.nix --output nix/node-packages.nix --input package.json --supplement-output supplement.nix
License
This module is published under MIT license.
Please refer to the LICENSE
that was distributed with this package for further legal information.
1.2.2
5 years ago