-
Notifications
You must be signed in to change notification settings - Fork 4
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
1 parent
1bfd312
commit 212a874
Showing
9 changed files
with
491 additions
and
422 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,94 @@ | ||
# use the shared Yast defaults | ||
inherit_from: | ||
/usr/share/YaST2/data/devtools/data/rubocop-0.71.0_yast_style.yml | ||
|
||
# this needs more testing if we can have frozen string literals | ||
Style/FrozenStringLiteralComment: | ||
Enabled: false | ||
|
||
# Offense count: 1 | ||
# Configuration parameters: AllowKeywordBlockArguments. | ||
Lint/UnderscorePrefixedVariableName: | ||
Exclude: | ||
- 'src/include/proxy/dialogs.rb' | ||
|
||
# Offense count: 7 | ||
Metrics/AbcSize: | ||
Max: 255 | ||
|
||
# Offense count: 5 | ||
# Configuration parameters: CountComments, ExcludedMethods. | ||
# ExcludedMethods: refine | ||
Metrics/BlockLength: | ||
Max: 150 | ||
|
||
# Offense count: 12 | ||
# Configuration parameters: CountBlocks. | ||
Metrics/BlockNesting: | ||
Max: 5 | ||
|
||
# Offense count: 1 | ||
# Configuration parameters: CountComments. | ||
Metrics/ClassLength: | ||
Max: 350 | ||
|
||
# Offense count: 8 | ||
Metrics/CyclomaticComplexity: | ||
Max: 60 | ||
|
||
# Offense count: 10 | ||
# Cop supports --auto-correct. | ||
# Configuration parameters: AutoCorrect, AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns. | ||
# URISchemes: http, https | ||
Metrics/LineLength: | ||
Max: 140 | ||
|
||
# Offense count: 10 | ||
# Configuration parameters: CountComments, ExcludedMethods. | ||
Metrics/MethodLength: | ||
Max: 320 | ||
|
||
# Offense count: 1 | ||
# Configuration parameters: CountComments. | ||
Metrics/ModuleLength: | ||
Max: 600 | ||
|
||
# Offense count: 7 | ||
Metrics/PerceivedComplexity: | ||
Max: 62 | ||
|
||
# Offense count: 1 | ||
# Configuration parameters: ExpectMatchingDefinition, Regex, IgnoreExecutableScripts, AllowedAcronyms. | ||
# AllowedAcronyms: CLI, DSL, ACL, API, ASCII, CPU, CSS, DNS, EOF, GUID, HTML, HTTP, HTTPS, ID, IP, JSON, LHS, QPS, RAM, RHS, RPC, SLA, SMTP, SQL, SSH, TCP, TLS, TTL, UDP, UI, UID, UUID, URI, URL, UTF8, VM, XML, XMPP, XSRF, XSS | ||
Naming/FileName: | ||
Exclude: | ||
- 'src/modules/Proxy.rb' | ||
|
||
# Offense count: 2 | ||
# Configuration parameters: MinNameLength, AllowNamesEndingInNumbers, AllowedNames, ForbiddenNames. | ||
# AllowedNames: io, id, to, by, on, in, at, ip, db | ||
Naming/UncommunicativeMethodParamName: | ||
Exclude: | ||
- 'src/modules/Proxy.rb' | ||
|
||
# Offense count: 6 | ||
# Configuration parameters: EnforcedStyle. | ||
# SupportedStyles: snake_case, camelCase | ||
Naming/VariableName: | ||
Exclude: | ||
- 'src/include/proxy/dialogs.rb' | ||
|
||
Naming/MethodName: | ||
Enabled: false | ||
|
||
# Offense count: 4 | ||
Style/Documentation: | ||
Exclude: | ||
- 'spec/**/*' | ||
- 'test/**/*' | ||
- 'src/include/proxy/dialogs.rb' | ||
- 'src/lib/proxy/auto_client.rb' | ||
- 'src/lib/proxy/client.rb' | ||
- 'src/modules/Proxy.rb' | ||
|
||
|
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
require "yast/rake" | ||
|
||
Yast::Tasks.configuration do |conf| | ||
#lets ignore license check for now | ||
# lets ignore license check for now | ||
conf.skip_license_check << /.*/ | ||
end |
Oops, something went wrong.