-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
43 lines (43 loc) · 1.16 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
{
"env": {
"es6": true,
"googleappsscript/googleappsscript": true
},
"extends": [
"plugin:@typescript-eslint/recommended",
"prettier"
],
"plugins": [
"@typescript-eslint",
"googleappsscript",
"prettier"
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 2019,
"sourceType": "module",
"project": "./tsconfig.json"
},
"rules": {
"prettier/prettier": "error",
"import/extensions": "off",
"@typescript-eslint/explicit-function-return-type": "off",
"@typescript-eslint/triple-slash-reference": "off",
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/naming-convention": [
"error",
{
"selector": "property",
"format": ["camelCase", "snake_case", "UPPER_CASE", "PascalCase"],
"leadingUnderscore": "allow"
}
],
"no-unused-vars": "off",
"@typescript-eslint/no-unused-vars": [
"error"
],
"no-useless-constructor": "off",
"@typescript-eslint/no-useless-constructor": "error",
"class-methods-use-this": "off"
}
}