-
Notifications
You must be signed in to change notification settings - Fork 5
/
.eslintrc.yml
37 lines (37 loc) · 1.13 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
#Author: Alexey Usov ([email protected], https://t.me/doubleaxe, https://github.com/doubleaxe)
#Please don't remove this comment if you use unmodified file
root: true
overrides:
-
files:
- "*.mjs"
parser: espree
parserOptions:
#node 18 supports up to ES 2022 (13th Edition)
ecmaVersion: 2022
sourceType: module
ecmaFeatures:
globalReturn: true
env:
node: true
es2022: true
extends:
- eslint:recommended
- ./.eslintrc.aousov.codestyle.yml
- ./.eslintrc.aousov.base.js.yml
-
files:
- "*.ts"
parser: "@typescript-eslint/parser"
parserOptions:
ecmaVersion: es2022
sourceType: module
extends:
- eslint:recommended
- "plugin:@typescript-eslint/recommended"
- ./.eslintrc.aousov.base.js.yml
- ./.eslintrc.aousov.base.ts.yml
- ./.eslintrc.aousov.codestyle.yml
- ./.eslintrc.aousov.codestyle.ts.yml
plugins:
- "@typescript-eslint"