forked from DOMjudge/domjudge
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.codeclimate.yml
59 lines (56 loc) · 1.36 KB
/
.codeclimate.yml
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
52
53
54
55
56
57
58
59
engines:
csslint:
enabled: true
duplication:
enabled: true
config:
languages:
php:
mass_threshold: 60
eslint:
enabled: true
checks:
no-alert:
enabled: false
exclude_fingerprints:
## Ignore 'exit(1)' in test-hello.js:
- 868673da0d2ee8f1ff139f0a004b166f
## Ignore IE <= 8 overwrite of catch variable 'e':
- 2bae39c1743204c63f6ba7028b612199
fixme:
enabled: true
phpmd:
enabled: true
config:
rulesets: ".phpmd-ruleset.xml"
exclude_fingerprints:
## Ignore some proper uses of 'exit()':
- 133867cfc661d32c08cde20fdfdbbc4b
- aa5c13777d476ad6ae1ac827f13fbe33
- b37f144cecd350adf1332a6fcd6ace73
- 874c8ca5aff6ed6343b0b81b872835e8
- e1302c82b896beb140d4bdad80e2ab70
- 454fe7ae0b787e00690f382c2cc31553
shellcheck:
## Disable since we already check it ourselves, and the tests are not
## configurable on Code Climate.
enabled: false
## Simply include all files for GPA ratings:
ratings:
paths:
- "**"
## Excluded files, e.g. external libraries:
exclude_paths:
- "config.guess"
- "config.sub"
- "install.sh"
- "lib/vendor/"
- "sql/files/defaultdata/float/config.h"
- "webapp/var/"
- "webapp/web/js/ace/"
- "webapp/web/js/jquery*.js"
- "webapp/web/js/jscolor.js"
- "webapp/web/js/js.cookie*.js"
- "webapp/web/js/sorttable.js"
- "webapp/web/js/tabber.js"
- "www/api/v3/"