Scitent's ESLint config. Based on airbnb
and prettier
.
With npm: npm install eslint-config-scitent --save-dev
;
With yarn: yarn add -D eslint-config-scitent
Make sure that you also install necessary peerDeps
Simply add scitent
to yours .eslintrc
:
{
"extends": ["scitent"],
"rules": {}
}
{
"extends": ["scitent/frontend"]
}
{
"extends": ["scitent/backend"]
}
Backend configuration relies on babel-eslint
parser, so make sure that you have it installed as devDependencies
.
Copyright © 2020 Scitent. Licensed under the MIT License.