Skip to content

Latest commit

 

History

History
67 lines (48 loc) · 1.42 KB

README.md

File metadata and controls

67 lines (48 loc) · 1.42 KB

@bynary/eslint-config

License npm

A collection of eslint-configs for use at bynary

Installation

npm install eslint @bynary/eslint-config --save-dev

Usage

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.