-
Notifications
You must be signed in to change notification settings - Fork 356
/
.codeclimate.yml
83 lines (83 loc) · 1.78 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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
version: '2'
exclude_patterns:
- ".git/"
- "**.gif"
- "**.html"
- "**.json"
- "**.png"
- "**.svg"
- "**.xml"
- "**.yaml"
- "**.yml"
- app/assets/javascripts/dhtmlx*/
- config/dictionary_strings.rb
- config/model_attributes.rb
- config/yaml_strings.rb
- db/schema.rb
- db/schema.yml
- db/fixtures/**/*.yml
- db/migrate/20130923182042_collapsed_initial_migration.rb
- locale/
- public/javascripts/timeline/
- spec/
- test/
- tmp/
- vendor/assets/
checks:
file-lines:
config:
threshold: 400
plugins:
brakeman:
enabled: false
bundler-audit:
enabled: false
csslint:
enabled: false
duplication:
enabled: true
exclude_patterns:
- app/decorators/
- app/javascript/**/*.spec.js
- app/javascript/**/*.schema.js
config:
concurrency: 1
languages:
ruby:
mass_threshold: 30
javascript:
eslint:
enabled: true
channel: eslint-5
checks:
key-spacing:
enabled: false
no-undefined:
enabled: false
quotes:
enabled: false
config:
ignore_warnings: true
extensions:
- ".js"
- ".jsx"
fixme:
enabled: false
markdownlint:
enabled: false
rubocop:
enabled: true
config: ".rubocop_cc.yml"
channel: rubocop-0-82
stylelint:
enabled: true
prepare:
fetch:
- url: https://raw.githubusercontent.com/ManageIQ/manageiq-style/master/.rubocop_base.yml
path: ".rubocop_base.yml"
- url: https://raw.githubusercontent.com/ManageIQ/manageiq-style/master/.rubocop_cc_base.yml
path: ".rubocop_cc_base.yml"
- url: https://raw.githubusercontent.com/ManageIQ/manageiq-style/master/styles/base.yml
path: styles/base.yml
- url: https://raw.githubusercontent.com/ManageIQ/manageiq-style/master/styles/cc_base.yml
path: styles/cc_base.yml