-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy path.codeclimate.yml
50 lines (50 loc) · 1.12 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
version: "2"
prepare:
fetch:
- url: https://raw.githubusercontent.com/getninjas/eslint-config-getninjas/master/common.js
path: .eslint/common.js
- url: https://raw.githubusercontent.com/getninjas/eslint-config-getninjas/master/index.js
path: .eslint/eslint-config-getninjas.js
- url: https://raw.githubusercontent.com/getninjas/dotfiles/master/.sass-lint.yml
path: .sass-lint-codeclimate.yml
plugins:
eslint:
enabled: true
config:
config: .eslintrc-codeclimate.json
sass-lint:
enabled: true
config:
config: .sass-lint-codeclimate.yml
checks:
duplication:
enabled: true
config:
languages:
- javascript
fixme:
enabled: true
identical-code:
enabled: true
argument-count:
enabled: false
complex-logic:
enabled: false
file-lines:
enabled: false
method-complexity:
enabled: false
method-lines:
enabled: false
nested-control-flow:
enabled: false
return-statements:
enabled: false
similar-code:
enabled: false
exclude_patterns:
- "bin"
- "dist"
- "docs"
- "node_modules"
- "package-lock.json"