mirror of
https://github.com/internetee/registry.git
synced 2025-06-02 18:58:35 +02:00
61 lines
1.3 KiB
YAML
61 lines
1.3 KiB
YAML
version: "2"
|
|
prepare:
|
|
fetch:
|
|
- "https://raw.githubusercontent.com/internetee/style-guide/master/.rubocop-ruby.yml"
|
|
- url: "https://raw.githubusercontent.com/internetee/style-guide/master/.rubocop-rails.yml"
|
|
path: ".rubocop.yml"
|
|
plugins:
|
|
brakeman:
|
|
enabled: true
|
|
checks:
|
|
mass_assign_permit!:
|
|
enabled: false
|
|
bundler-audit:
|
|
enabled: true
|
|
duplication:
|
|
enabled: true
|
|
config:
|
|
count_threshold: 3
|
|
languages:
|
|
ruby:
|
|
mass_threshold: 100
|
|
javascript:
|
|
mass_threshold: 100
|
|
eslint:
|
|
enabled: true
|
|
channel: eslint-5
|
|
fixme:
|
|
enabled: true
|
|
checks:
|
|
TODO:
|
|
enabled: false
|
|
rubocop:
|
|
enabled: true
|
|
channel: rubocop-0-74
|
|
checks:
|
|
Rubocop/Style/ClassAndModuleChildren:
|
|
enabled: false
|
|
checks:
|
|
method-lines:
|
|
config:
|
|
threshold: 40
|
|
method-count:
|
|
config:
|
|
threshold: 25
|
|
exclude_patterns:
|
|
- "app/models/version/"
|
|
- "bin/"
|
|
- "config/"
|
|
- "db/"
|
|
- "lib/core_monkey_patches/"
|
|
- "lib/daemons/"
|
|
- "lib/gem_monkey_patches/"
|
|
- "lib/tasks/api_log.rake"
|
|
- "lib/tasks/bootstrap.rake"
|
|
- "lib/tasks/db.rake"
|
|
- "lib/tasks/documents.rake"
|
|
- "lib/tasks/legal_doc.rake"
|
|
- "lib/tasks/whois.rake"
|
|
- "test/"
|
|
- "vendor/"
|
|
- "CHANGELOG.md"
|