forked from dblock/open-weather-ruby-client
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated .rubocop.yml with suggested rules and applied changes to appe…
…ase the cop. Removed .rubocop_todo.yml as it's no longer needed to pass rubocop.
- Loading branch information
Showing
15 changed files
with
222 additions
and
83 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 |
---|---|---|
@@ -1,13 +1,184 @@ | ||
Style/NumericLiterals: | ||
AllCops: | ||
SuggestExtensions: false | ||
|
||
Gemspec/RequiredRubyVersion: | ||
Exclude: | ||
- 'open-weather-ruby-client.gemspec' | ||
|
||
Naming/FileName: | ||
Exclude: | ||
- 'lib/open-weather-ruby-client.rb' | ||
|
||
Gemspec/DevelopmentDependencies: | ||
Enabled: false | ||
Gemspec/RequireMFA: | ||
Enabled: false | ||
Gemspec/DeprecatedAttributeAssignment: | ||
Enabled: true | ||
|
||
Style/NumericLiterals: | ||
Enabled: false | ||
Style/ModuleFunction: | ||
Enabled: false | ||
|
||
Style/Documentation: | ||
Enabled: false | ||
|
||
Metrics: | ||
Enabled: false | ||
|
||
inherit_from: .rubocop_todo.yml | ||
Layout/LineContinuationLeadingSpace: | ||
Enabled: true | ||
Layout/LineContinuationSpacing: | ||
Enabled: true | ||
Layout/LineEndStringConcatenationIndentation: | ||
Enabled: true | ||
Layout/SpaceBeforeBrackets: | ||
Enabled: true | ||
Lint/AmbiguousAssignment: | ||
Enabled: true | ||
Lint/AmbiguousOperatorPrecedence: | ||
Enabled: true | ||
Lint/AmbiguousRange: | ||
Enabled: true | ||
Lint/ConstantOverwrittenInRescue: | ||
Enabled: true | ||
Lint/DeprecatedConstants: | ||
Enabled: true | ||
Lint/DuplicateBranch: | ||
Enabled: true | ||
Lint/DuplicateMagicComment: | ||
Enabled: true | ||
Lint/DuplicateRegexpCharacterClassElement: | ||
Enabled: true | ||
Lint/EmptyBlock: | ||
Enabled: true | ||
Lint/EmptyClass: | ||
Enabled: true | ||
Lint/EmptyInPattern: | ||
Enabled: true | ||
Lint/IncompatibleIoSelectWithFiberScheduler: | ||
Enabled: true | ||
Lint/LambdaWithoutLiteralBlock: | ||
Enabled: true | ||
Lint/NoReturnInBeginEndBlocks: | ||
Enabled: true | ||
Lint/NonAtomicFileOperation: | ||
Enabled: true | ||
Lint/NumberedParameterAssignment: | ||
Enabled: true | ||
Lint/OrAssignmentToConstant: | ||
Enabled: true | ||
Lint/RedundantDirGlobSort: | ||
Enabled: true | ||
Lint/RefinementImportMethods: | ||
Enabled: true | ||
Lint/RequireRangeParentheses: | ||
Enabled: true | ||
Lint/RequireRelativeSelfPath: | ||
Enabled: true | ||
Lint/SymbolConversion: | ||
Enabled: true | ||
Lint/ToEnumArguments: | ||
Enabled: true | ||
Lint/TripleQuotes: | ||
Enabled: true | ||
Lint/UnexpectedBlockArity: | ||
Enabled: true | ||
Lint/UnmodifiedReduceAccumulator: | ||
Enabled: true | ||
Lint/UselessRescue: | ||
Enabled: true | ||
Lint/UselessRuby2Keywords: | ||
Enabled: true | ||
Naming/BlockForwarding: | ||
Enabled: true | ||
Security/CompoundHash: | ||
Enabled: true | ||
Security/IoMethods: | ||
Enabled: true | ||
Style/ArgumentsForwarding: | ||
Enabled: true | ||
Style/ArrayIntersect: | ||
Enabled: true | ||
Style/CollectionCompact: | ||
Enabled: true | ||
Style/ComparableClamp: | ||
Enabled: true | ||
Style/ConcatArrayLiterals: | ||
Enabled: true | ||
Style/DirEmpty: | ||
Enabled: true | ||
Style/DocumentDynamicEvalDefinition: | ||
Enabled: true | ||
Style/EmptyHeredoc: | ||
Enabled: true | ||
Style/EndlessMethod: | ||
Enabled: true | ||
Style/EnvHome: | ||
Enabled: true | ||
Style/FetchEnvVar: | ||
Enabled: true | ||
Style/FileEmpty: | ||
Enabled: true | ||
Style/FileRead: | ||
Enabled: true | ||
Style/FileWrite: | ||
Enabled: true | ||
Style/HashConversion: | ||
Enabled: true | ||
Style/HashExcept: | ||
Enabled: true | ||
Style/IfWithBooleanLiteralBranches: | ||
Enabled: true | ||
Style/InPatternThen: | ||
Enabled: true | ||
Style/MagicCommentFormat: | ||
Enabled: true | ||
Style/MapCompactWithConditionalBlock: | ||
Enabled: true | ||
Style/MapToHash: | ||
Enabled: true | ||
Style/MapToSet: | ||
Enabled: true | ||
Style/MinMaxComparison: | ||
Enabled: true | ||
Style/MultilineInPatternThen: | ||
Enabled: true | ||
Style/NegatedIfElseCondition: | ||
Enabled: true | ||
Style/NestedFileDirname: | ||
Enabled: true | ||
Style/NilLambda: | ||
Enabled: true | ||
Style/NumberedParameters: | ||
Enabled: true | ||
Style/NumberedParametersLimit: | ||
Enabled: true | ||
Style/ObjectThen: | ||
Enabled: true | ||
Style/OpenStructUse: | ||
Enabled: true | ||
Style/OperatorMethodCall: | ||
Enabled: true | ||
Style/QuotedSymbols: | ||
Enabled: true | ||
Style/RedundantArgument: | ||
Enabled: true | ||
Style/RedundantConstantBase: | ||
Enabled: true | ||
Style/RedundantDoubleSplatHashBraces: | ||
Enabled: true | ||
Style/RedundantEach: | ||
Enabled: true | ||
Style/RedundantHeredocDelimiterQuotes: | ||
Enabled: true | ||
Style/RedundantInitialize: | ||
Enabled: true | ||
Style/RedundantSelfAssignmentBranch: | ||
Enabled: true | ||
Style/RedundantStringEscape: | ||
Enabled: true | ||
Style/SelectByRegexp: | ||
Enabled: true | ||
Style/StringChars: | ||
Enabled: true | ||
Style/SwapValues: | ||
Enabled: true |
This file was deleted.
Oops, something went wrong.
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
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
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.