forked from googleapis/google-cloud-node
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.eslintrc.json
More file actions
27 lines (27 loc) · 693 Bytes
/
Copy path.eslintrc.json
File metadata and controls
27 lines (27 loc) · 693 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
{
"extends": [
"./node_modules/gts",
"plugin:prettier/recommended",
"plugin:import/recommended",
"plugin:import/typescript",
"plugin:promise/recommended"
],
"root": true,
// Note: All rules configured as "error" are blocking in the PR CI pipeline.
// Only rules configured as "warn" remain non-blocking.
"rules": {
"import/no-unresolved": "off",
"import/no-extraneous-dependencies": "error",
"promise/catch-or-return": "error",
"promise/always-return": "error"
},
"ignorePatterns": [
"**/node_modules",
"**/build",
"**/system-test",
"**/test/fixtures",
"**/samples/generated",
"**/.coverage",
"**/coverage"
]
}