0.2.1 • Published 1 year ago
@bynary/eslint-config v0.2.1
@bynary/eslint-config
A collection of eslint-configs for use at bynary
Installation
npm install eslint @bynary/eslint-config --save-devUsage
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.
Default config
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
}
}Angular config
For Angular projects, there is a tailored config available under the name @bynary/eslint-config/angular
{
"extends": [
"@bynary/eslint-config/angular"
],
"rules": {
// Your overrides
}
}Building
Run nx build to build the library.