eslint-config-bruno
v3.1.0
Published
An ESLint Shareable Config that makes me happy
Downloads
378
Maintainers
Readme
eslint-config-bruno
An ESLint Shareable Config for JavaScript that makes Bruno happy.
It's a fork of StandardJS.
Differences from StandardJS
This configuration extends StandardJS, and diverges from it in the following aspects:
semi: Semicolons always, but no extra semicolons.
quotes: Double quotes.
curly: Always use curly braces after
if
,while
,for
...comma-dangle: Always for multiline.
eqeqeq: Enforce type-strict checks, excluding literal values,
typeof
andnull
.
Install
npm install eslint-config-bruno
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.
Then, add this to your .eslintrc file:
{
"extends": "bruno"
}
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.