forked from forcedotcom/lightning-language-server
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
49 lines (49 loc) · 1.28 KB
/
.eslintrc.json
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
45
46
47
48
49
{
"root": true,
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module"
},
"plugins": ["@typescript-eslint", "jsdoc", "eslint-plugin-header"],
"extends": [
"plugin:@typescript-eslint/recommended",
"plugin:prettier/recommended"
],
"rules": {
"ban-ts-ignore": "off",
"@typescript-eslint/ban-ts-ignore": "off",
"camelcase": "off",
"@typescript-eslint/camelcase": "off",
"constructor-super": "warn",
"curly": "error",
"eqeqeq": "error",
"no-buffer-constructor": "error",
"no-caller": "error",
"no-debugger": "warn",
"no-duplicate-case": "error",
"no-duplicate-imports": "error",
"no-eval": "error",
"no-extra-semi": "warn",
"no-redeclare": "error",
"no-sparse-arrays": "error",
"no-throw-literal": "error",
"no-unsafe-finally": "warn",
"no-unused-labels": "warn",
"no-restricted-globals": [
"warn",
"name",
"length",
"event",
"closed",
"external",
"status",
"origin",
"context"
], // non-complete list of globals that are easy to access unintentionally
"no-var": "error",
"jsdoc/no-types": "warn",
"@typescript-eslint/semi": "warn",
"@typescript-eslint/no-explicit-any": "off"
}
}