🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

eslint-plugin-taskcluster

Package Overview
Dependencies
Maintainers
9
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-plugin-taskcluster

An eslint plugin for the Taskcluster Platform

1.0.2
latest
Source
npm
Version published
Weekly downloads
2
100%
Maintainers
9
Weekly downloads
 
Created
Source

eslint-plugin-taskcluster

An eslint plugin for the Taskcluster Platform.

Installation

You'll first need to install ESLint and babel-eslint:

$ npm install eslint@1.x babel-eslint@5 --save-dev

$ npm install eslint@2.x babel-eslint@6 --save-dev

Next, install eslint-plugin-taskcluster:

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

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

Usage

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

{
    "plugins": [
        "taskcluster"
    ]
}

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

{
    "rules": {
        "taskcluster/no-for-in": 2
    }
}

Supported Rules

  • no-for-in: Disallow all instances of for-in loops.

Keywords

eslint

FAQs

Package last updated on 22 Apr 2016

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