-
Notifications
You must be signed in to change notification settings - Fork 205
Expand file tree
/
Copy path.eslintrc.json
More file actions
37 lines (37 loc) · 813 Bytes
/
.eslintrc.json
File metadata and controls
37 lines (37 loc) · 813 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
29
30
31
32
33
34
35
36
37
{
"root": true,
"parser": "@typescript-eslint/parser",
"extends": [
"airbnb-base",
"plugin:prettier/recommended",
"eslint:recommended",
"plugin:@typescript-eslint/recommended"
],
"plugins": ["prettier", "googleappsscript"],
"env": {
"googleappsscript/googleappsscript": true
},
"rules": {
"prettier/prettier": "error",
"camelcase": "warn",
"import/prefer-default-export": "warn",
"import/no-extraneous-dependencies": "warn",
"prefer-object-spread": "warn",
"import/extensions": [
"error",
"ignorePackages",
{
"js": "never",
"ts": "never"
}
]
},
"ignorePatterns": ["dist", ".eslintrc.json"],
"settings": {
"import/resolver": {
"node": {
"extensions": [".js", ".ts"]
}
}
}
}