ESLint shareable config for the Brainhub JavaScript style guide
$ npm install --save-dev eslint eslint-config-brainhub
Once the eslint-config-brainhub
package is installed, you can use it by specifying brainhub
in the extends
section of your ESLint configuration (Usually .eslintrc
file in main directory).
{
"extends": "brainhub",
"rules": {
// Additional, per-project rules...
}
}
See RULES.md file
Apache-2 © Brainhub