Andres Rodriguez
cf67cb1377
Rubocop: Enable most SpaceInside cops ( #15201 )
...
Enabled:
* SpaceInsideArrayLiteralBrackets
* SpaceInsideParens
* SpaceInsidePercentLiteralDelimiters
* SpaceInsideStringInterpolation
* Add enforced style for SpaceInsideStringInterpolation
Enabled without offenses:
* SpaceInsideArrayPercentLiteral
* Layout/SpaceInsideRangeLiteral
* Layout/SpaceInsideReferenceBrackets
2023-07-20 09:49:46 -04:00
Andres Rodriguez
2165d43e1a
Rubocop: Enable SpaceBefore cops ( #15197 )
...
Enables the following cops:
* Layout/SpaceBeforeBlockBraces
* Layout/SpaceBeforeBrackets
* Layout/SpaceBeforeComma
* Layout/SpaceBeforeComment
* Layout/SpaceBeforeFirstArg
* Layout/SpaceBeforeSemicolon
2023-07-18 22:32:17 -04:00
Andres Rodriguez
4255a8fd1c
Rubocop: Enable SpaceAround cops ( #15196 )
...
* Enable SpaceARoundBlockParameters
* Enable SpaceAroundEqualsInParameterDefault
* Enable SpaceAroundKeyword
* Enable SpaceAroundOperators
* Enable SpaceBeforeBlockBraces, which yields no changes
2023-07-18 21:11:57 -04:00
Andres Rodriguez
acd87a69e7
Rubocop: Enable various EmptyLine cops ( #15194 )
...
Disabled:
* EmptyLineAfterGuardClause
* EmptyLineAfterMultilineCondition
* EmptyLinesAroundAccessModifier
Enabled:
* Layout/EmptyLineAfterMagicComment
* Layout/EmptyLineBetweenDefs
* Layout/EmptyLines
* Layout/EmptyLinesAroundArguments
* Layout/EmptyLinesAroundAttributeAccessor
* Layout/EmptyLinesAroundBeginBody
* Layout/EmptyLinesAroundBlockBody
* Layout/EmptyLinesAroundExceptionHandlingKeywords
* Layout/EmptyLinesAroundMethodBody
* Layout/EmptyLinesAroundModuleBody
2023-07-18 16:49:16 -04:00
Andres Rodriguez
d95a0bba74
Fix deprecated ERB and BigDecimal instances ( #15189 )
2023-07-18 08:48:01 -04:00
Andres Rodriguez
1d558c35d0
Fix instances of deprecated class methods ( #15183 )
...
Replace ::File.exists? for ::File.exist?
2023-07-17 11:32:46 -04:00
Andres Rodriguez
b63ffea472
Enable SpaceAfterColon, SpaceAfterComma, SpaceAfterSemicolon ( #15180 )
...
Enable SpaceAfterColon, SpaceAfterComma, SpaceAfterSemicolon and fix occurrences.
2023-07-14 16:46:35 -04:00
Andres Rodriguez
26ff2f7db9
Enable Style/TrailingEmptyLines and fix ocurrences ( #15179 )
2023-07-14 14:46:33 -04:00
Andres Rodriguez
5e34aacc6e
Enable trailing whitespace formating ( #15174 )
...
* Enable Layout/TrailingWhitespace cop formation
* Remove Trailing Whitespaces
2023-07-14 13:22:02 -04:00
Andres Rodriguez
6154a69c15
Add basic ruby linter ( #15168 )
...
Adds rubocop as a linter for ruby.:
- Adds .rubocop.yml which defines specific config on top of default
- Adds Gradle task 'lint' task
- Adds 'lint:report' rake task to report Lint Cops.
- Adds 'lint:format' rake task to automatically format the code.
2023-07-13 17:18:10 -04:00