New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@privyid/eslint-plugin-varspacing

Package Overview
Dependencies
Maintainers
2
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@privyid/eslint-plugin-varspacing

A eslint rule for proper var spacing

  • 1.2.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
2
Created
Source

eslint-plugin-varspacing

Forking from https://gitlab.com/Ma27/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

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.

Keywords

FAQs

Package last updated on 24 Jan 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc