forked from netlify/cli
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
51 lines (51 loc) · 1.01 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
50
51
{
"plugins": ["node", "prettier"],
"parserOptions": {
"sourceType": "module",
"ecmaFeatures": {
"jsx": true
}
},
"env": {
"node": true,
"es6": true
},
"extends": [
"plugin:import/errors",
"plugin:import/warnings",
"eslint:recommended",
"plugin:node/recommended",
"prettier"
],
"rules": {
"no-console": 0,
"no-unused-vars": [
"error",
{
"vars": "all",
"args": "none",
"ignoreRestSiblings": true
}
],
"no-process-exit": 0
},
"overrides": [
{
"files": "**/*.test.js",
"rules": {
"node/no-unpublished-require": 0,
"node/no-missing-require": 0
}
},
{
"files": "src/functions-templates/**/*.js",
"rules": {
"node/no-unsupported-features/es-syntax": 0,
"node/no-unsupported-features/es-builtins": 0,
"node/no-unsupported-features/node-builtins": 0,
"node/no-missing-require": 0,
"node/shebang": 0
}
}
]
}