-
Notifications
You must be signed in to change notification settings - Fork 210
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1052 from Growstuff/dev
Release 15
- Loading branch information
Showing
256 changed files
with
4,409 additions
and
1,318 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
inherit_from: .rubocop_todo.yml | ||
AllCops: | ||
Include: | ||
- 'Rakefile' | ||
- 'config.ru' | ||
- 'lib/**/*.rake' | ||
Exclude: | ||
- 'db/schema.rb' | ||
- 'vendor/**/*' | ||
|
||
Style/StringLiterals: | ||
Enabled: false | ||
|
||
Metrics/MethodLength: | ||
Description: 'Avoid methods longer than 30 lines of code.' | ||
StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#short-methods' | ||
# Set to 30 once all methods are fixed. | ||
# Max: 30 | ||
Max: 104 | ||
|
||
# Remove the following once the code style matches | ||
# Offense count: 59 | ||
Metrics/AbcSize: | ||
Max: 115 | ||
|
||
# Offense count: 5 | ||
# Configuration parameters: CountComments. | ||
Metrics/BlockLength: | ||
Max: 62 | ||
|
||
# Offense count: 6 | ||
# Configuration parameters: CountComments. | ||
Metrics/ClassLength: | ||
Max: 275 | ||
|
||
# Offense count: 6 | ||
Metrics/CyclomaticComplexity: | ||
Max: 11 | ||
|
||
# Offense count: 1108 | ||
# Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives. | ||
# URISchemes: http, https | ||
Metrics/LineLength: | ||
Max: 223 | ||
|
||
# Offense count: 8 | ||
Metrics/PerceivedComplexity: | ||
Max: 12 |
Oops, something went wrong.