A collection of eslint-configs for use at bynary
npm install eslint @bynary/eslint-config --save-dev
This package provides multiple configs for different use cases.
You can use the configs by adding them in the extends
section of your ESLint configuration.
The default config is for use in most projects and contains JavaScript and TypeScript related rules. It can be used by extending @bynary
or @bynary/eslint-config
in your ESLint config.
{
"extends": [
"@bynary"
],
"rules": {
// Your overrides
}
}
or
{
"extends": [
"@bynary/eslint-conifg"
],
"rules": {
// Your overrides
}
}
For Angular projects, there is a tailored config available under the name @bynary/eslint-config/angular
{
"extends": [
"@bynary/eslint-config/angular"
],
"rules": {
// Your overrides
}
}
Run nx build
to build the library.