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

eslint-config-first-lego-league

Package Overview
Dependencies
Maintainers
5
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-config-first-lego-league

ESLint Config for all JavaScript Official Projects

  • 1.0.1
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
4
increased by300%
Maintainers
5
Weekly downloads
 
Created
Source

JS-Standard

ESLint Config for all JavaScript Official Projects

An ESLint Shareable Config for FIRST Lego League JS Projects

Based on JavaScript Standard Style

Usage

Shareable configs are designed to work with the extends feature of .eslintrc files. You can learn more about Shareable Configs on the official ESLint website.

Run the following command:

yarn add --dev eslint-config-first-lego-league \
  eslint
  eslint-config-standard \
  eslint-plugin-import \
  eslint-plugin-node \
  eslint-plugin-promise \
  eslint-plugin-standard

Then, add this to your .eslintrc.yml file:

extends: first-lego-league

Note: We omitted the /eslint-config suffix since it is automatically assumed by ESLint.

You can override settings from the shareable config by adding them directly into your .eslintrc file.

Additional Standards

React / JSX

Add the following plugins to your package.json:

yarn add --dev \
  eslint-config-standard-jsx \
  eslint-plugin-react

Then, add this to your .eslintrc.yml file:

extends:
  - "@first-lego-league"
  - "@first-lego-league/eslint-config/jsx"

Tests (Mocha + Chai-expect)

Add the following plugins to your package.json:

yarn add --dev \
  eslint-plugin-chai-friendly \
  eslint-plugin-chai-expect \
  eslint-plugin-mocha

Then, add this to your .eslintrc.yml file:

extends:
  - "@first-lego-league"
  - "@first-lego-league/eslint-config/tests"

FAQs

Package last updated on 01 Jul 2019

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