-
-
Notifications
You must be signed in to change notification settings - Fork 24
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
c2e25d5
commit 00c20e4
Showing
23 changed files
with
606 additions
and
353 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,5 @@ | ||
--- | ||
inherit_from: .rubocop_todo.yml | ||
|
||
inherit_gem: | ||
voxpupuli-rubocop: rubocop.yml |
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,259 @@ | ||
# This configuration was generated by | ||
# `rubocop --auto-gen-config` | ||
# on 2023-05-30 13:12:42 UTC using RuboCop version 1.50.2. | ||
# The point is for the user to remove these configuration records | ||
# one by one as the offenses are removed from the code base. | ||
# Note that changes in the inspected code, or installation of new | ||
# versions of RuboCop, may require this file to be generated again. | ||
|
||
# Offense count: 1 | ||
Lint/MissingSuper: | ||
Exclude: | ||
- 'lib/ra10ke.rb' | ||
|
||
# Offense count: 1 | ||
Lint/NoReturnInBeginEndBlocks: | ||
Exclude: | ||
- 'lib/ra10ke/puppetfile_parser.rb' | ||
|
||
# Offense count: 1 | ||
# Configuration parameters: AllowComments, AllowNil. | ||
Lint/SuppressedException: | ||
Exclude: | ||
- 'Rakefile' | ||
|
||
# Offense count: 5 | ||
Lint/UselessAssignment: | ||
Exclude: | ||
- 'lib/ra10ke/dependencies.rb' | ||
- 'lib/ra10ke/solve.rb' | ||
|
||
# Offense count: 1 | ||
Naming/AccessorMethodName: | ||
Exclude: | ||
- 'lib/ra10ke.rb' | ||
|
||
# Offense count: 1 | ||
# Configuration parameters: ForbiddenDelimiters. | ||
# ForbiddenDelimiters: (?i-mx:(^|\s)(EO[A-Z]{1}|END)(\s|$)) | ||
Naming/HeredocDelimiterNaming: | ||
Exclude: | ||
- 'lib/ra10ke/dependencies.rb' | ||
|
||
# Offense count: 1 | ||
# Configuration parameters: MinNameLength, AllowNamesEndingInNumbers, AllowedNames, ForbiddenNames. | ||
# AllowedNames: as, at, by, cc, db, id, if, in, io, ip, of, on, os, pp, to | ||
Naming/MethodParameterName: | ||
Exclude: | ||
- 'lib/ra10ke/solve.rb' | ||
|
||
# Offense count: 2 | ||
# This cop supports unsafe autocorrection (--autocorrect-all). | ||
Performance/Count: | ||
Exclude: | ||
- 'lib/ra10ke/validate.rb' | ||
- 'spec/ra10ke/validate_spec.rb' | ||
|
||
# Offense count: 2 | ||
# This cop supports unsafe autocorrection (--autocorrect-all). | ||
Performance/MapCompact: | ||
Exclude: | ||
- 'lib/ra10ke/dependencies.rb' | ||
- 'lib/ra10ke/puppetfile_parser.rb' | ||
|
||
# Offense count: 4 | ||
RSpec/AnyInstance: | ||
Exclude: | ||
- 'spec/ra10ke/validate_spec.rb' | ||
- 'spec/ra10ke_spec.rb' | ||
|
||
# Offense count: 3 | ||
# This cop supports unsafe autocorrection (--autocorrect-all). | ||
RSpec/BeEq: | ||
Exclude: | ||
- 'spec/ra10ke/deprecation_spec.rb' | ||
|
||
# Offense count: 6 | ||
# Configuration parameters: Prefixes, AllowedPatterns. | ||
# Prefixes: when, with, without | ||
RSpec/ContextWording: | ||
Exclude: | ||
- 'spec/ra10ke/dependencies_spec.rb' | ||
|
||
# Offense count: 5 | ||
# Configuration parameters: CountAsOne. | ||
RSpec/ExampleLength: | ||
Max: 31 | ||
|
||
# Offense count: 10 | ||
RSpec/ExpectInHook: | ||
Exclude: | ||
- 'spec/ra10ke/validate_spec.rb' | ||
|
||
# Offense count: 15 | ||
# Configuration parameters: . | ||
# SupportedStyles: have_received, receive | ||
RSpec/MessageSpies: | ||
EnforcedStyle: receive | ||
|
||
# Offense count: 7 | ||
RSpec/MultipleExpectations: | ||
Max: 3 | ||
|
||
# Offense count: 1 | ||
# Configuration parameters: AllowedPatterns. | ||
# AllowedPatterns: ^expect_, ^assert_ | ||
RSpec/NoExpectationExample: | ||
Exclude: | ||
- 'spec/ra10ke/dependencies_spec.rb' | ||
|
||
# Offense count: 12 | ||
RSpec/StubbedMock: | ||
Exclude: | ||
- 'spec/ra10ke/deprecation_spec.rb' | ||
- 'spec/ra10ke/validate_spec.rb' | ||
|
||
# Offense count: 7 | ||
# Configuration parameters: IgnoreNameless, IgnoreSymbolicNames. | ||
RSpec/VerifiedDoubles: | ||
Exclude: | ||
- 'spec/ra10ke/deprecation_spec.rb' | ||
- 'spec/ra10ke/validate_spec.rb' | ||
|
||
# Offense count: 1 | ||
RSpec/VoidExpect: | ||
Exclude: | ||
- 'spec/ra10ke/git_repo_spec.rb' | ||
|
||
# Offense count: 6 | ||
# This cop supports unsafe autocorrection (--autocorrect-all). | ||
# Configuration parameters: EnforcedStyle. | ||
# SupportedStyles: nested, compact | ||
Style/ClassAndModuleChildren: | ||
Exclude: | ||
- 'lib/ra10ke/dependencies.rb' | ||
- 'lib/ra10ke/deprecation.rb' | ||
- 'lib/ra10ke/duplicates.rb' | ||
- 'lib/ra10ke/install.rb' | ||
- 'lib/ra10ke/solve.rb' | ||
- 'lib/ra10ke/syntax.rb' | ||
|
||
# Offense count: 1 | ||
# This cop supports unsafe autocorrection (--autocorrect-all). | ||
Style/CollectionCompact: | ||
Exclude: | ||
- 'lib/ra10ke/dependencies.rb' | ||
|
||
# Offense count: 15 | ||
# Configuration parameters: AllowedConstants. | ||
Style/Documentation: | ||
Exclude: | ||
- 'spec/**/*' | ||
- 'test/**/*' | ||
- 'lib/ra10ke.rb' | ||
- 'lib/ra10ke/dependencies.rb' | ||
- 'lib/ra10ke/deprecation.rb' | ||
- 'lib/ra10ke/duplicates.rb' | ||
- 'lib/ra10ke/git_repo.rb' | ||
- 'lib/ra10ke/install.rb' | ||
- 'lib/ra10ke/monkey_patches.rb' | ||
- 'lib/ra10ke/puppetfile_parser.rb' | ||
- 'lib/ra10ke/solve.rb' | ||
- 'lib/ra10ke/syntax.rb' | ||
- 'lib/ra10ke/validate.rb' | ||
|
||
# Offense count: 5 | ||
# This cop supports safe autocorrection (--autocorrect). | ||
# Configuration parameters: MaxUnannotatedPlaceholdersAllowed, AllowedMethods, AllowedPatterns. | ||
# SupportedStyles: annotated, template, unannotated | ||
Style/FormatStringToken: | ||
EnforcedStyle: unannotated | ||
|
||
# Offense count: 11 | ||
# This cop supports unsafe autocorrection (--autocorrect-all). | ||
# Configuration parameters: EnforcedStyle. | ||
# SupportedStyles: always, always_true, never | ||
Style/FrozenStringLiteralComment: | ||
Exclude: | ||
- 'Gemfile' | ||
- 'Rakefile' | ||
- 'lib/ra10ke.rb' | ||
- 'lib/ra10ke/dependencies.rb' | ||
- 'lib/ra10ke/install.rb' | ||
- 'lib/ra10ke/puppetfile_parser.rb' | ||
- 'lib/ra10ke/solve.rb' | ||
- 'lib/ra10ke/syntax.rb' | ||
- 'lib/ra10ke/version.rb' | ||
- 'ra10ke.gemspec' | ||
- 'spec/ra10ke/puppetfile_parser_spec.rb' | ||
|
||
# Offense count: 1 | ||
# This cop supports unsafe autocorrection (--autocorrect-all). | ||
# Configuration parameters: InverseMethods, InverseBlocks. | ||
Style/InverseMethods: | ||
Exclude: | ||
- 'lib/ra10ke/dependencies.rb' | ||
|
||
# Offense count: 1 | ||
Style/MultilineBlockChain: | ||
Exclude: | ||
- 'lib/ra10ke/dependencies.rb' | ||
|
||
# Offense count: 1 | ||
# This cop supports unsafe autocorrection (--autocorrect-all). | ||
# Configuration parameters: EnforcedStyle. | ||
# SupportedStyles: literals, strict | ||
Style/MutableConstant: | ||
Exclude: | ||
- 'lib/ra10ke/version.rb' | ||
|
||
# Offense count: 1 | ||
# This cop supports unsafe autocorrection (--autocorrect-all). | ||
# Configuration parameters: EnforcedStyle, AllowedMethods, AllowedPatterns. | ||
# SupportedStyles: predicate, comparison | ||
Style/NumericPredicate: | ||
Exclude: | ||
- 'spec/**/*' | ||
- 'lib/ra10ke/validate.rb' | ||
|
||
# Offense count: 1 | ||
# This cop supports unsafe autocorrection (--autocorrect-all). | ||
Style/RedundantInterpolation: | ||
Exclude: | ||
- 'lib/ra10ke/duplicates.rb' | ||
|
||
# Offense count: 1 | ||
# This cop supports unsafe autocorrection (--autocorrect-all). | ||
Style/RedundantSort: | ||
Exclude: | ||
- 'lib/ra10ke/dependencies.rb' | ||
|
||
# Offense count: 1 | ||
# This cop supports unsafe autocorrection (--autocorrect-all). | ||
# Configuration parameters: RequireEnglish, EnforcedStyle. | ||
# SupportedStyles: use_perl_names, use_english_names, use_builtin_english_names | ||
Style/SpecialGlobalVars: | ||
Exclude: | ||
- 'ra10ke.gemspec' | ||
|
||
# Offense count: 1 | ||
# This cop supports unsafe autocorrection (--autocorrect-all). | ||
# Configuration parameters: Mode. | ||
Style/StringConcatenation: | ||
Exclude: | ||
- 'lib/ra10ke/solve.rb' | ||
|
||
# Offense count: 2 | ||
# This cop supports unsafe autocorrection (--autocorrect-all). | ||
# Configuration parameters: AllowMethodsWithArguments, AllowedMethods, AllowedPatterns, AllowComments. | ||
# AllowedMethods: define_method | ||
Style/SymbolProc: | ||
Exclude: | ||
- 'lib/ra10ke/dependencies.rb' | ||
|
||
# Offense count: 6 | ||
# This cop supports safe autocorrection (--autocorrect). | ||
# Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, AllowedPatterns. | ||
# URISchemes: http, https | ||
Layout/LineLength: | ||
Max: 137 |
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
Oops, something went wrong.