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

eslint-plugin-es6-recommended

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-es6-recommended

ESLint plugin to promote ES6 best practices.

  • 0.1.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
14K
increased by469.29%
Maintainers
1
Weekly downloads
 
Created
Source

ESLint plugin to promote ES6 best practices.

Installation

npm install --save-dev eslint-plugin-es6-recommended

Usage

Add the following to your .eslintrc file:

"plugins": [
  "es6-recommended"
]

Rules

All of these rules have to do with JavaScript modules in one way or another.

  • no-arguments - use rest parameters instead of arguments
  • prefer-for-of - use for-of instead of for, for-in, and Array.prototype.forEach

TODO:

  • prefer-class
  • prefer-default-params

Keywords

FAQs

Package last updated on 28 Oct 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