-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.yml
44 lines (44 loc) · 934 Bytes
/
.eslintrc.yml
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
root: true
env:
browser: true
es2021: true
extends:
- eslint:recommended
- google
- plugin:import/recommended
- plugin:@typescript-eslint/eslint-recommended
- plugin:import/typescript
- eslint-config-prettier
plugins:
- jsdoc
- tsdoc
parser: '@typescript-eslint/parser'
parserOptions:
ecmaVersion: latest
sourceType: module
createDefaultProgram: true
project: ./tsconfig.json
rules:
new-cap: off
no-invalid-this: off
no-unused-vars: warn
require-jsdoc: warn
valid-jsdoc: off
import/no-named-as-default: off
jsdoc/require-param-type: off
jsdoc/require-param: ['off', { enableRootFixer: false }]
jsdoc/require-returns-description: off
jsdoc/require-returns-type: off
jsdoc/require-returns: off
tsdoc/syntax: warn
settings:
import/resolver:
typescript: {}
alias:
map:
- ['@', './src']
extensions:
- .js
- .ts
- .jsx
- .tsx