Añade plugin Redmine Git Hosting 4.0.2
This commit is contained in:
parent
472cb1ea76
commit
bdd66d941f
494 changed files with 36768 additions and 0 deletions
60
plugins/redmine_git_hosting/.rubocop.yml
Normal file
60
plugins/redmine_git_hosting/.rubocop.yml
Normal file
|
@ -0,0 +1,60 @@
|
|||
require:
|
||||
- rubocop-rspec
|
||||
- rubocop-performance
|
||||
|
||||
Rails:
|
||||
Enabled: true
|
||||
|
||||
AllCops:
|
||||
TargetRubyVersion: 2.5
|
||||
TargetRailsVersion: 5.2
|
||||
Include:
|
||||
- '**/*.ruby'
|
||||
- '**/*.rake'
|
||||
- '**/*.rb'
|
||||
- '**/*.rsb'
|
||||
- '**/Rakefile'
|
||||
- '**/Gemfile'
|
||||
|
||||
Metrics/AbcSize:
|
||||
Max: 65
|
||||
|
||||
Metrics/BlockLength:
|
||||
Max: 60
|
||||
|
||||
Metrics/ClassLength:
|
||||
Enabled: false
|
||||
|
||||
Metrics/CyclomaticComplexity:
|
||||
Max: 20
|
||||
|
||||
Metrics/LineLength:
|
||||
Max: 140
|
||||
|
||||
Metrics/MethodLength:
|
||||
Max: 60
|
||||
|
||||
Metrics/ModuleLength:
|
||||
Enabled: false
|
||||
|
||||
Metrics/PerceivedComplexity:
|
||||
Max: 25
|
||||
|
||||
Rails/SkipsModelValidations:
|
||||
Enabled: false
|
||||
|
||||
Rails/CreateTableWithTimestamps:
|
||||
Enabled: false
|
||||
|
||||
# app/model/application_record.rb is missing in redmine, we can't use ApplicationRecord
|
||||
Rails/ApplicationRecord:
|
||||
Enabled: false
|
||||
|
||||
Style/FrozenStringLiteralComment:
|
||||
Enabled: false
|
||||
|
||||
Style/AutoResourceCleanup:
|
||||
Enabled: true
|
||||
|
||||
Style/Documentation:
|
||||
Enabled: false
|
Loading…
Add table
Add a link
Reference in a new issue