-
Notifications
You must be signed in to change notification settings - Fork 39
/
.codeclimate.yml
70 lines (70 loc) · 1.65 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
version: '2'
# Work around CodeClimate's inability to use Rubocop's inherit_gem directive:
# https://github.com/codeclimate/codeclimate-rubocop/issues/71#issuecomment-635055223
prepare:
fetch:
- url: https://raw.githubusercontent.com/GSA/searchgov_style/main/.default.yml
path: .rubocop-https---raw-githubusercontent-com-GSA-searchgov-style-main--default-yml
checks:
file-lines:
enabled: true
config:
threshold: 300
method-lines:
enabled: false
method-count:
enabled: false
method-complexity:
enabled: false
file-lines:
enabled: false
plugins:
brakeman:
enabled: true
exclude_fingerprints:
- 3ea88cadfeec23aca30866f2d32ba0c1ed4ce23728f7824a7dd405af6383f52a
- 4dd7e3efa71bfd02a5a6c9158ec54f9ceef4d991a72b974fbaa7d89e931b631d
bundler-audit:
enabled: true
csslint:
enabled: true
coffeelint:
enabled: true
duplication:
enabled: true
exclude_patterns:
- "spec/"
config:
languages:
- ruby
- javascript
# ESLint is configured in .eslintrc and .eslintignore
eslint:
enabled: true
channel: "eslint-8"
config:
extensions:
- .js
- .jsx
- .ts
- .tsx
fixme:
enabled: true
# Rubocop is configured in .rubocop.yml
rubocop:
enabled: true
channel: rubocop-1-48-1
exclude_patterns:
- config/
- db/
- features/
- script/
- vendor/
- "**/vendor/**/*"
- "**/vcr_cassettes/**/*"
- app/assets/images/
# These files were downloaded from https://designsystem.digital.gov/
- app/assets/stylesheets/uswds.css
- app/assets/stylesheets/uswds_override.css
# Overriding USWDS components
- app/javascript/components/UswdsOverrides/