Socket
Socket
Sign inDemoInstall

eslint-plugin-one-var-es6

Package Overview
Dependencies
88
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

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


Version published
Weekly downloads
1
Maintainers
1
Install size
30.7 kB
Created
Weekly downloads
 

Changelog

Source

v1.0.7 | 2015-04-24

  • Add deprecation notice

Readme

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

Last updated on 24 Apr 2015

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc