-
-
Notifications
You must be signed in to change notification settings - Fork 5
/
.eslintrc.yml
38 lines (35 loc) · 932 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
extends: eslint-config-dmitmel/presets/node
env:
browser: true
parser: '@typescript-eslint/parser'
parserOptions:
sourceType: module
plugins: ['prettier']
settings:
node:
tryExtensions: ['.ts', '.js', '.json', '.node']
rules:
prettier/prettier:
- error
node/no-unsupported-features/es-syntax:
- error
- ignores:
- modules
overrides:
- files: '**/*.ts*'
extends:
- eslint-config-dmitmel/presets/typescript-addon
parserOptions:
project: 'tsconfig.json'
sourceType: module
rules:
eqeqeq: 0
require-await: 0
no-undefined: 0
# May the Gods smite me for these two.
'node/no-unpublished-import': 0
'node/no-missing-import': 0
'@typescript-eslint/no-dynamic-delete': 0
'@typescript-eslint/no-explicit-any': 0
'@typescript-eslint/no-non-null-asserted-optional-chain': 0
'@typescript-eslint/naming-convention': 0