-
Notifications
You must be signed in to change notification settings - Fork 30
/
Copy path.checkbuild
45 lines (45 loc) · 1.15 KB
/
.checkbuild
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
{
"checkbuild": {
// "buddyjs"
"enable": ["eslint", "jsxhint", "jshint", "jscs", "jsinspect", "plato", "nsp", "david"],
// don't exit immediately if one of the tools reports an error (default true)
"continueOnError": true,
// don't exit(1) even if we had some failures (default false)
"allowFailures": false
},
"eslint": {
"args": ["src/**/*.js", "src/**/*.jsx"],
"url": "https://raw.githubusercontent.com/FGRibreau/javascript/master/.eslintrc_base"
},
"jshint": {
"args": ["src/**/*.js"]
},
"jsxhint": {
"args": ["src/**/*.jsx"]
},
"jscs": {
"args": ["src/**/*.js"]
},
"jsinspect": {
"args": ["*.js"],
"diff": true
},
"buddyjs": {
"args": ["*.js"],
"ignore": [0, 1, 200]
},
"plato": {
"args": ["*.js"],
// define your project min average maintainability
"maintainability": 75.00
},
"nsp": {},
"david": {
"dev": false,
// whether to check devDependencies or not (default false)
"stable": true,
// whether to check dependencies or not (default true)
"ignore": []
// put ignored dependencies here (both devDependencies and dependencies)
}
}