JS-Standard
ESLint Config for all JavaScript Official Projects
An ESLint Shareable Config for FIRST Lego League JS Projects
Based on JavaScript Standard Style
Install
yarn install eslint-config-first-lego-league
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-standard eslint-plugin-standard eslint-plugin-promise eslint-plugin-import eslint-plugin-node
Then, add this to your .eslintrc.yml file:
extends: first-lego-league
Note: We omitted the eslint-config- prefix since it is automatically assumed by ESLint.
You can override settings from the shareable config by adding them directly into your
.eslintrc file.