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
1 changed file
with
34 additions
and
0 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,34 @@ | ||
# use the shared YaST defaults | ||
inherit_from: | ||
/usr/share/YaST2/data/devtools/data/rubocop_yast_style.yml | ||
|
||
# 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 | ||
|
||
Style/FormatString: | ||
Exclude: | ||
- 'src/lib/users/encryption_proposal.rb' | ||
- 'src/lib/users/proposal.rb' | ||
|
||
AllCops: | ||
Exclude: | ||
- 'src/modules/**/*' | ||
- 'src/include/**/*' | ||
- 'testsuite/**/*' | ||
- 'src/clients/*' |