Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

eslint-plugin-one-var-es6

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-plugin-one-var-es6

eslint rule for one-var that adds es6 compat

  • 1.0.7
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
3
increased by50%
Maintainers
1
Weekly downloads
 
Created
Source

eslint-plugin-one-var-es6 NPM version Build Status Dependency Status

THIS MODULE IS DEPRECATED

It's functionality was added in eslint v0.20.0

Custom eslint rule for one-var that adds es6 compat

Table of Contents generated with DocToc

Install

npm i -S eslint-plugin-one-var-es6

Usage

// .eslintrc

"plugins": [
  "eslint-plugin-one-var-es6"
],
"rules": {
    "eslint-plugin-one-var-es6/one-var-es6": [2, "always"],
    "eslint-plugin-one-var-es6/one-let": [2, "never"],
    "eslint-plugin-one-var-es6/one-const": [2, "never"]
}

Tests

Tests are run with eslint-tester.

  • npm test will run the tests
  • npm run tdd will run the tests on every file change.

Developing

To publish, run npm run release -- [{patch,minor,major}]

NOTE: you might need to sudo ln -s /usr/local/bin/node /usr/bin/node to ensure node is in your path for the git hooks to work

Requirements

  • npm > 2.0.0 So that passing args to a npm script will work. npm i -g npm
  • git > 1.8.3 So that git push --follow-tags will work. brew install git

License

Artistic 2.0 © Joey Baker

Keywords

FAQs

Package last updated on 24 Apr 2015

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