Socket
Socket
Sign inDemoInstall

eslint-config-taskcluster

Package Overview
Dependencies
Maintainers
9
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-config-taskcluster

Shared eslint config for Taskcluster projects


Version published
Weekly downloads
14
increased by250%
Maintainers
9
Weekly downloads
 
Created
Source

Taskcluster's ESLint configuration

Install

npm install --save-dev eslint-config-taskcluster

Use

In your project's .eslintrc, use the extends feature:

{
  'extends': 'eslint-config-taskcluster'
}

Now, set up lint before testing. An example with package.json is:

  "scripts": {
    "compile": "babel-compile -p taskcluster src:lib test:.test",
    "lint": "eslint src/*.js test/*.js",
    "pretest": "yarn lint && npm run compile",
    "test": "mocha .test/*_test.js"
  },

Keywords

FAQs

Package last updated on 14 Dec 2018

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