Skip to content

bynaryDE/eslint-config

Repository files navigation

@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.

About

A collection of eslint-configs for use at bynary

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published