You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

eslint-plugin-proposal

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-plugin-proposal

some rules for ECMAScript proposal. eg: class property.

2.3.3
latest
Source
npmnpm
Version published
Weekly downloads
576
-4.48%
Maintainers
1
Weekly downloads
 
Created
Source

eslint-plugin-proposal

npm (tag) Travis (.org) branch node npm peer dependency version npm GitHub

some rules for ECMAScript proposal. eg: class property.

Installation

You'll first need to install ESLint:

$ npm i eslint --save-dev

Next, install eslint-plugin-proposal:

$ npm install eslint-plugin-proposal --save-dev

Note: If you installed ESLint globally (using the -g flag) then you must also install eslint-plugin-proposal globally.

Usage

Add proposal to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:

{
  "plugins": [
    "proposal"
  ]
}

Then configure the rules you want to use under the rules section.

{
  "rules": {
    "proposal/class-property-space-infix-ops": "error"
  }
}

List of supported rules

Shareable configurations

This plugin exports a recommended configuration.

To enable this configuration use the extends property in your .eslintrc config file:

{
  "extends": [
    "plugin:proposal/recommended"
  ]
}

The rules enabled in this configuration are:

Keywords

eslint

FAQs

Package last updated on 12 Aug 2021

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