Skip to content

Files

Latest commit

 

History

History
18 lines (16 loc) · 454 Bytes

typescript.md

File metadata and controls

18 lines (16 loc) · 454 Bytes

TypeScript

All of the packages in eslint-config-adjuct should work with TypeScript. The following is an example config using the AirBnB ruleset with Adjunct and TypeScript-Eslint.

{
  "extends": [
    "plugin:@typescript-eslint/recommended",
    "plugin:@typescript-eslint/recommended-requiring-type-checking",
    "airbnb-typescript",
    "airbnb/hooks",
    "adjunct"
  ],
  "parserOptions": {
    "project": "./tsconfig.json"
  }
}