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

eslint-config-crowdlab

Package Overview
Dependencies
Maintainers
3
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-config-crowdlab

ESLint configuration used by CrowdLab

  • 4.0.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
3
Created
Source

eslint-config-crowdlab

ESLint configuration used by CrowdLab

Currently based on eslint-config-airbnb with some additions:

Supports the following:

  • Jest
  • Mocha (for webdriverio E2E tests)
  • webdriverio
  • ES6
  • CommonJS
  • Browser
  • Node
  • JSDoc

JSDoc rules

The following rules are used for setting types for @param and @returns:

WrongPreferred
Booleanboolean
Numbernumber
Stringstring
arrayArray
functionFunction
objectObject
promisePromise

Usage in CrowdLab UI

You don't need to install this separately in CrowdLab UI projects.

Usage Outside of CrowdLab UI

If you want to use this package outside of the CrowdLab UI project, you can install and use it with the following steps.

Install

In order to install all peer dependencies, we need to run the following:

yarn add -D eslint-config-crowdlab

Usage

Create a file named .eslintrc.js with following contents in the root folder of your project:

{
  extends: 'crowdlab',
  rules: {
    // Add overrides and additional rules here
  }
}

That's it! You can override the settings from eslint-config-crowdlab by editing the .eslintrc.js file. Learn more about configuring ESLint on the ESLint website.

FAQs

Package last updated on 09 Feb 2022

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