-
Notifications
You must be signed in to change notification settings - Fork 1
/
.codeclimate.yml
62 lines (62 loc) · 1.21 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
60
61
62
version: "2"
checks:
argument-count:
enabled: false
complex-logic:
enabled: false
file-lines:
config:
threshold: 300
method-complexity:
enabled: false
method-count:
enabled: false
method-lines:
enabled: false
nested-control-flow:
enabled: false
return-statements:
config:
threshold: 6
similar-code:
enabled: true
identical-code:
enabled: true
plugins:
duplication:
enabled: true
config:
languages:
javascript:
mass_threshold: 50
eslint:
enabled: false
fixme:
enabled: true
config:
strings:
- FIXME
- BUG
- TODO
- todo
- console.log
nodesecurity:
enabled: true
markdownlint:
enabled: false
csslint:
enabled: false
coffeelint:
enabled: false
# SASS Lint requires a .sass-lint.yml file in the repo in order to tweak settings.
# Without the .sass-lint.yml file it will run with the defaults.
# Defaults file: https://github.com/sasstools/sass-lint/blob/master/lib/config/sass-lint.yml
sass-lint:
enabled: true
exclude_patterns:
- node_modules/
- "**/__tests__/"
- "**/tests/**/*"
- "package.json"
- "webpack.config.js"
- "**.min.*"