1.0.0 • Published 4 years ago
@moxy/eslint-config-browser v1.0.0
eslint-config-browser
MOXY eslint configuration to be used for JavaScript projects in the browser.
Installation
$ npm install --save-dev eslint @moxy/eslint-config-browser
Usage
Create a .eslintrc.json
file in the project root and extend @moxy/eslint-config-browser
.
Examples
{
"root": true,
"extends": [
"@moxy/eslint-config-browser"
]
}
Note that by setting root
to true, we ensure that no ancestor configuration is used which also improves ESLint
performance because no more file lookups need to be done.
1.0.0
4 years ago