-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy path.eslintrc.yml
More file actions
45 lines (45 loc) · 773 Bytes
/
.eslintrc.yml
File metadata and controls
45 lines (45 loc) · 773 Bytes
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
env:
browser: true
es6: true
node: true
parser: typescript-eslint-parser
parserOptions:
ecmaFeatures:
jsx: true
sourceType: module
extends:
- airbnb-base
- plugin:promise/recommended
- plugin:react/recommended
- plugin:jsx-a11y/recommended
- prettier
plugins:
- promise
- react
- jsx-a11y
- typescript
rules:
no-unused-vars: 0
no-undef: 0
import/prefer-default-export: false
import/extensions:
- error
- aways
-
js: never
ts: never
tsx: never
react/prop-types: 0
settings:
import/resolver:
node:
extensions:
- .js
- .json
- .ts
- .tsx
moduleDirectory:
- node_modules
- src
import/parsers:
typescript-eslint-parser: [ .ts, .tsx ]