npm install --save-dev eslint-config-bfe
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.
To use the BFE JavaScript Standard Style shareable config, first run this:
npm install --save-dev eslint-config-bfe
Then, add this to your .eslintrc file:
{
"extends": "eslint-config-bfe"
}
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.
For the full listing of rules, editor plugins, FAQs, and more, visit the main BFE JavaScript Standard Style repo.
MIT. Copyright (c).