-
Notifications
You must be signed in to change notification settings - Fork 4
Enable rubocop and fix most of the issues #25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
|
|
|
|
|
Found the issue related: rubocop/rubocop#9144 |
|
TODO:
|
|
Switched |
|
At this point it should be fine to squash all |
|
Yay! Just fixed issues with |
|
No autocorrectable issues left except |
* apply safe autocorrect * fix Style/MutableConstant * fix Style/NumericPredicate * fix Style/AndOr * fix Style/ZeroLengthPredicate * fix Style/SymbolProc * fix Style/SelectByRegexp * fix Style/ClassEqualityComparison * fix Style/GlobalStdStream * fix Style/RedundantParentheses * fix Security/JSONLoad * fix Style/HashEachMethods * fix Style/PreferredHashMethods
* fix Style/HashConversion * fix Style/MapToHash * fix Style/InverseMethods * fix Style/SlicingWithRange * fix Lint/NonAtomicFileOperation * fix Performance/MapCompact * fix Style/RedundantInterpolation * fix Style/RedundantParentheses * fix Lint/AmbiguousRange * fix Lint/AssignmentInCondition * fix Performance/DeletePrefix * fix Performance/Detect * fix Performance/StringInclude * fix Style/CombinableLoops * fix Layout/IndentationWidth * fix Layout/IndentationConsistency * fix Layout/CommentIndentation * fix Style/CommentedKeyword * fix Layout/CommentIndentation * fix Style/HashTransformKeys * fix Style/SymbolProc * fix Style/HashTransformValues * fix Style/MinMaxComparison * fix Style/RaiseArgs * fix Style/RedundantSort * fix Style/SafeNavigation * fix Style/SpecialGlobalVars * fix Layout/BlockAlignment * fix Layout/IndentationWidth * fix Layout/IndentationConsistency * fix Layout/CommentIndentation * fix Style/IfUnlessModifier * fix Style/StringConcatenation * fix Style/FrozenStringLiteralComment * fix/disable Lint/DuplicateBranch * fix Performance/CollectionLiteralInLoop * fix Style/OptionalBooleanParameter * disable Style/MultilineBlockChain * fix Style/ClassVars * fix Style/ClassAndModuleChildren * fix Naming/VariableNumber * fix Naming/PredicateMethod * fix Naming/PredicatePrefix * fix Lint/SuppressedException * fix Naming/HeredocDelimiterNaming * fix Style/OpenStructUse * fix Rake/MethodDefinitionInTask
* Ensure rake fails if `jekyll build` call fails (this is expected behavior in CI/CD). * Fix SIGINT handling in the preview task.
|
I squashed most of fixes in just 2 batches. Should be good to merge now. |
No description provided.