Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
86 additions
and
18 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
# use the shared YaST defaults | ||
inherit_from: | ||
/usr/share/YaST2/data/devtools/data/rubocop_yast_style.yml | ||
|
||
# Redundant returns add legibility for developers used to other languages | ||
Style/RedundantReturn: | ||
Enabled: false | ||
|
||
# Don't enforce any particular name for block params | ||
SingleLineBlockParams: | ||
Enabled: false | ||
|
||
# The general YaST agreement is 100 characters, so it fits into standard | ||
# resolutions and Github's pull request view. But let's open the threshold a | ||
# little bit | ||
Metrics/LineLength: | ||
Max: 105 | ||
|
||
# Enforce if/unless at the end only for really short lines | ||
Style/IfUnlessModifier: | ||
MaxLineLength: 60 | ||
|
||
# some storage API have size method, but without empty? method | ||
# for details see https://github.com/yast/yast-storage-ng/pull/83 | ||
Style/ZeroLengthPredicate: | ||
Enabled: false | ||
|
||
# the ".freeze" attribute for the constants is not nice | ||
Style/MutableConstant: | ||
Enabled: false |
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
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