-
Notifications
You must be signed in to change notification settings - Fork 0
/
.codeclimate.yml
56 lines (55 loc) · 1.23 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
engines:
rubocop:
enabled: true
brakeman:
enabled: true
duplication:
# Duplication analyzes JavaScript (including JSX and ES6), PHP, Python,
# and Ruby code for structural similarities.
enabled: true
config:
languages:
- ruby
- javascript
bundler-audit:
# Find security vulnerabilities in your Ruby dependencies.
# bundler-audit offers patch-level verification for Bundler.
enabled: true
fixme:
# The FIXME engine finds comments in your code which match the strings
# TODO, FIXME, HACK, and BUG, which are all things you should fix now,
# not later. FIXME is also very simple, and is intended to provide a
# 'Hello World' like example for potential Code Climate Platform engine authors.
enabled: true
eslint:
enabled: true
csslint:
enabled: true
coffeelint:
enabled: true
checks:
max_line_length:
enabled: false
duplication:
enabled: true
exclude_paths:
- "spec/"
config:
languages:
ruby:
mass_threshold: 30
javascript:
ratings:
paths:
- Gemfile.lock
- "**.erb"
- "**.rb"
- "**.css"
- "**.coffee"
- "**.inc"
- "**.js"
- "**.module"
exclude_paths:
- config/
- db/
- vendor/