| Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
|
|
If rubocop invocation from brew audit exits with nil exitstatus,
brew audit fails with 'undefined method `>' for nil:NilClass'.
|
|
Changes to our style configuration:
- Consolidate all rules related to Ruby 1.8 compatibility in one place.
- Codify our de-facto preference for `alias_method` over `alias` (drops
offense count by 54 after turning this on).
- Drop `Style/SignalException` as `only_raise` has been the new default
for quite a while (since RuboCop 0.37.0).
|
|
Tweak `Style/NumericLiteralPrefix` cop settings as we're using octal
literals a lot (both in formulae and the package manager) for file
permissions and aren't ready just yet to transition them to the more
beginner-friendly `0o` prefix (instead of the more obscure `0` prefix).
|
|
|
|
This collects all violations for each formula in a single place, instead
of doing `brew style` outputs for all formulae first, and then the other
audit checks.
Closes #112.
Signed-off-by: Andrew Janke <andrew@apjanke.net>
|
|
(#85)
|
|
Closes Homebrew/homebrew#49084.
Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
|
|
Stop using Style/TrailingComma as it is no longer recognized and start using
Style/TrailingCommaInArguments and Style/TrailingCommaInLiteral instead.
Closes Homebrew/homebrew#48144.
Signed-off-by: Xu Cheng <xucheng@me.com>
|
|
|
|
|
|
|
|
Closes Homebrew/homebrew#43650.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
|
|
|
|
|
|
|
|
Closes Homebrew/homebrew#41049.
Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
|
|
Closes Homebrew/homebrew#40506.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
|
|
Closes Homebrew/homebrew#39620.
|
|
Closes Homebrew/homebrew#37670.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
|
|
Closes Homebrew/homebrew#35556.
|
|
|