File size: 783 Bytes
1c36640
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
root: true

extends:
  # Order matters, later configs purposefully override settings from earlier configs
  - eslint:recommended
  - plugin:@typescript-eslint/recommended
  - plugin:import/recommended
  - plugin:import/typescript
  - plugin:node/recommended
  - prettier

parser: "@typescript-eslint/parser"

parserOptions:
  ecmaFeatures:
    jsx: true
  ecmaVersion: 12
  # All @typescript-eslint type related checks are disabled if you don't point to your tsconfig, but if we do eslint takes minutes for each file versus a second
  # TODO(dapirian): figure out how to re-enable this without making eslint take forever
  # project: ./tsconfig.json

plugins:
  - "@typescript-eslint"
  - import

settings:
  import/parsers:
    "@typescript-eslint/parser":
      - .ts
      - .tsx