forked from 18F/identity-idp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.codeclimate.yml
63 lines (62 loc) · 1.35 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
engines:
brakeman:
enabled: true
exclude_paths:
# Excluding User Flows tools since these are not loaded
# except when explicitly called from the User Flow rake tasks
- 'lib/user_flow_exporter.rb'
- 'lib/rspec/formatters/user_flow_formatter.rb'
bundler-audit:
enabled: true
coffeelint:
enabled: true
csslint:
enabled: true
duplication:
enabled: true
config:
languages:
ruby:
javascript:
mass_threshold: 50
exclude_paths:
- 'spec/**/*'
- 'node_modules/**/*'
- 'db/schema.rb'
- 'app/forms/password_form.rb'
- 'lib/user_flow_exporter.rb'
- 'lib/rspec/formatters/user_flow_formatter.rb'
eslint:
enabled: true
fixme:
enabled: true
exclude_paths:
- 'public/build/bundle.js'
- '.codeclimate.yml'
config:
strings:
# Removed TODO from this list, as we want to allow TODOs in the codebase
- FIXME
- HACK
- BUG
- XXX
reek:
enabled: true
exclude_paths:
- 'spec/**/*'
- 'db/migrate/*'
- 'lib/user_flow_exporter.rb'
- 'lib/rspec/formatters/user_flow_formatter.rb'
rubocop:
enabled: true
scss-lint:
enabled: true
ratings:
paths:
- app/**
- lib/**
- '**.rb'
- '**.go'
exclude_paths:
- 'lib/user_flow_exporter.rb'
- 'lib/rspec/formatters/user_flow_formatter.rb'