ESLint configurations and code-style guidelines
All packages have their respective peerDependencies
and as long as you add everything required
by the package, you are good to go.
Packages themselfs are divided by their plugin usage and made independent but at the same time integrated by keeping in mind that they can be used in conjunction with one another.
Here is just a default script section for some who tend to skip these description parts:
$ yarn add --save-dev @axellero/eslint-config
All you have to do is to extend the config you want, and we'll take it from there:
{
// package.json
"eslintConfig": {
"extends": [
// Either extend ALL configurations at once...
"@axellero",
// ...or piece by piece
"@axellero/eslint-config-core",
"@axellero/eslint-config-typescript",
"@axellero/eslint-config-prettier",
]
}
}
All configurations were made and tested with care. We tried to match our needs, but maybe you could find them useful as well.
Any PR is welcomed by our @js-opensource team. Check out our contributing guidelines for more info.