-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.eslintrc.json
More file actions
28 lines (28 loc) · 762 Bytes
/
Copy path.eslintrc.json
File metadata and controls
28 lines (28 loc) · 762 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
{
"extends": ["eslint:recommended"],
"parserOptions": {
"project": true
},
"root": true,
"env": {
"browser": true,
"es6": true,
"jquery": true
},
"ignorePatterns": ["dist/**/*", "types/**/*"],
"overrides": [
{
"files": ["*.ts"],
"extends": [
"plugin:@typescript-eslint/recommended",
"plugin:@typescript-eslint/recommended-requiring-type-checking"
],
"parser": "@typescript-eslint/parser",
"plugins": ["@typescript-eslint"],
"rules": {
"@typescript-eslint/no-this-alias": "off",
"@typescript-eslint/ban-ts-comment": "warn"
}
}
]
}