@axellero/eslint-config-typescript
TypeScript icon, indicating that this package has built-in type declarations

1.0.1 • Public • Published

axellero logo
@axellero/eslint-config-typescript

ESLint configuration for TypeScript

axellero/eslint repository github workflow status axellero/eslint repository license @axellero/eslint-config-typescript

Installation

Add peer dependencies:

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

...then install config packages:

$ yarn add -D @axellero/eslint-config-typescript

Usage

{
  // package.json
  "eslintConfig": {
    "extends": [
      "@axellero/eslint-config-typescript",
      // WARNING.
      // Requires tsconfig to be presented in `parserOptions.project`.
      // May cause performance problems, so we don't recommend adding it right away.
      "@axellero/eslint-config-typescript/with-type-check"
    ]
  }
}

Contributing

Any PR is welcomed by our @js-opensource team. Check out our contributing guidelines for more info.

License

axellero eslint config license

Package Sidebar

Install

npm i @axellero/eslint-config-typescript

Weekly Downloads

31

Version

1.0.1

License

MIT

Unpacked Size

17.7 kB

Total Files

19

Last publish

Collaborators

  • olehan