1.0.0 • Published 6 years ago

eslint-config-pengubot v1.0.0

Weekly downloads
1
License
MIT
Repository
github
Last release
6 years ago

@pengubot/eslint-config

PenguBot's Organisation Standard ESLint and TSConfig

GitHub npm npm Discord Twitter Follow Twitter Follow Patreon Support PayPal Donate


Installation

Installing the Peer Dependencies:

yarn add -D eslint typescript @typescript-eslint/parser @typescript-eslint/eslint-plugin

Then install this config:

yarn add -D @pengubot/eslint-config

Installation

ESLint

To use it as your ESLint config you can add this to your .eslintrc file:

{
    "extends": ["@pengubot"]
}

Or you can add this to your package.json:

{
    "eslintConfig": {
        "extends": "@pengubot"
    }
}

Then create a tsconfig.eslint.json similar to the following example in the same directory:

{
    "extends": "./tsconfig.json",
    "include": ["src"]
}

TypeScript

To use @pengubot/eslint-config's TypeScript config you can add this to your tsconfig.json:

{
    "extends": "@pengubot/eslint-config"
}

Support

Support

License

MIT