@monorepo-template/eslint-config-typescript-fixable

1.1.0 • Public • Published

Fixable TypeScript ESLint config

@monorepo-template/eslint-config-typescript-fixable is an ESLint configuration comprised solely of fixable TypeScript rules. As a result, no manual effort is required to adhere to this configuration's rules.

Install

yarn add --dev "@monorepo-template/eslint-config-typescript-fixable" "@typescript-eslint/eslint-plugin" "@typescript-eslint/parser"

Use

Merge the following ESLint configuration into your .eslintrc.json file:

{
  "extends": ["@monorepo-template/typescript-fixable"],

  "overrides": [
    {
      "files": ["*.cjs", "*.js", "*.jsx", "*.mjs"],
      "extends": ["@monorepo-template/typescript-fixable/js"]
    },

    {
      "files": ["*.json"],
      "extends": ["@monorepo-template/typescript-fixable/json"]
    }
  ]
}

If you are using other configurations outside of the @monorepo-template scope, this should come after those configurations in the extends array.

Readme

Keywords

Package Sidebar

Install

npm i @monorepo-template/eslint-config-typescript-fixable

Weekly Downloads

13

Version

1.1.0

License

MIT

Unpacked Size

6.73 kB

Total Files

5

Last publish

Collaborators

  • charlesstover