@spraoi/eslint-config
v0.30.0
Published
An opinionated, extensible eslint config to enforce high-quality javascript.
Downloads
15
Maintainers
Keywords
Readme
@spraoi/eslint-config
An opinionated, extensible eslint config to enforce high-quality javascript.
Installation
yarn add --dev @spraoi/eslint-config @spraoi/prettier-config eslint prettier
Usage
Add the following configuration to the root of you project:
.eslintrc
{
"extends": ["@spraoi/eslint-config"]
}
.prettierrc.js
module.exports = require('@spraoi/prettier-config');
package.json
{
"scripts": {
"lint:js": "eslint --ignore-path .gitignore \"src/**/*.js\""
}
}
You can then run yarn lint:js
.