aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd/style.rb
AgeCommit message (Collapse)Author
2016-09-19style: no args default to Library/Homebrew.Mike McQuaid
2016-09-19style: don't require HOMEBREW_DEVELOPER to fix.Mike McQuaid
2016-09-19style: allow passing taps as arguments.Mike McQuaid
2016-09-17rubocop --auto-correct all hash-rocket usage.Mike McQuaid
2016-07-16audit: prevent crash from nil exitstatus (#532)Margaret Lewicka
If rubocop invocation from brew audit exits with nil exitstatus, brew audit fails with 'undefined method `>' for nil:NilClass'.
2016-07-12style: use RuboCop 0.41.2, adjust defaults (#489)Martin Afanasjew
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).
2016-07-04style: use RuboCop 0.41.1 (#433)Martin Afanasjew
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).
2016-06-01style: use RuboCop 0.40Martin Afanasjew
2016-04-21brew-audit: pull style checks in to main audit outputAndrew Janke
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>
2016-04-14style: use rubocop 0.39Dominyk Tiller
(#85)
2016-02-13style: update rubocop to 0.37.2Dominyk Tiller
Closes Homebrew/homebrew#49084. Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
2016-01-17Rubocop: upgrade to version 0.36.0Bob W. Hogg
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>
2015-11-10rubocop: update to 0.35.1Dominyk Tiller
2015-09-24style: update rubocop to 0.34.2Dominyk Tiller
2015-09-09style: update rubocopDominyk Tiller
2015-09-08style: update to rubocop 0.34.0.Tomasz Pajor
Closes Homebrew/homebrew#43650. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-08-06update rubocop to 0.33.0Xu Cheng
2015-08-06style: allow passing arbitrary file pathsXu Cheng
2015-08-03Don't try to Rubocop vendored files.Mike McQuaid
2015-06-25style: bump rubocop to 0.32.1Dominyk Tiller
Closes Homebrew/homebrew#41049. Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
2015-06-09style: bump rubocop to 0.32.0Dominyk Tiller
Closes Homebrew/homebrew#40506. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-05-14Install specific Rubocop version.Mike McQuaid
Closes Homebrew/homebrew#39620.
2015-03-13brew style: --fix to auto-correct issues.Baptiste Fontaine
Closes Homebrew/homebrew#37670. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-01-05style: explicitly point to config file.Mike McQuaid
Closes Homebrew/homebrew#35556.
2015-01-04style: run Rubocop on formulae (new command)Mike McQuaid