1.0.6 • Published 2 years ago
eslint-config-playerberry v1.0.6
eslint-config-playerberry
Shared ESLint config for JavaScript code produced by PlayerBerry's Backend group but designed to be usable across the company. By adopting a common ESLint config, we hope to encourage consistent style and quality across all of our repos.
The lion's share of ESLint configuration should be defined here rather than each project's own .eslintrc
. If a project's maintainers want to override some configuration value, they can do it in their own .eslintrc
.
Usage
npm install --save-dev eslint-config-playerberry
Then, extend playerberry
in your .eslintrc
:
{
"extends": "playerberry"
}
Or
{
"extends": "playerberry/frontend"
}
Or
{
"extends": "playerberry/backend"
}
For some issues, use .prettierrc.json file in workspace:
{
"singleQuote": true,
"printWidth": 120,
"trailingComma": "all",
"endOfLine": "lf",
"arrowParens": "avoid"
}