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
|
---
version: "2"
checks:
method-complexity:
config:
threshold: 6
similar-code:
enabled: false
plugins:
grep:
enabled: true
config:
patterns:
no-trailing-whitespace:
pattern: \s*$
annotation: "Don't leave trailing whitespace"
severity: minor
categories: Style
path_patterns:
- .rubocop.yml
- .rubocop_todo.yml
- .travis.yml
no-tabs:
pattern: " "
annotation: "Don't use hard tabs"
severity: minor
categories: Style
path_patterns:
- .rubocop.yml
- .rubocop_todo.yml
- .travis.yml
markdownlint:
enabled: true
rubocop:
enabled: true
exclude_patterns:
- coverage/
- .bundle/
|