-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.yml
38 lines (35 loc) · 1.01 KB
/
.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
env:
browser: true
es2021: true
node: true
extends:
- standard-with-typescript
- airbnb-typescript/base
- plugin:import/recommended
parser: '@typescript-eslint/parser'
parserOptions:
ecmaVersion: latest
sourceType: module
project: ./tsconfig.json
rules:
max-len: ['error', 120]
quotes: ['error', 'single']
import/no-default-export: 2
import/no-extraneous-dependencies: 0
no-console: warn
yield-star-spacing: ['error', 'after']
generator-star-spacing: ['error', 'after']
'@typescript-eslint/no-unsafe-argument': off
'@typescript-eslint/explicit-function-return-type': off
'@typescript-eslint/strict-boolean-expressions': off
'@typescript-eslint/indent': off
'@typescript-eslint/consistent-type-definitions': ['error', 'type']
'@typescript-eslint/member-delimiter-style':
[
'error',
{
'multiline': { 'delimiter': 'semi', 'requireLast': true },
'singleline': { 'delimiter': 'semi', 'requireLast': false },
'multilineDetection': 'brackets',
},
]