Mike McQuaid
77c0d38c35
brew style --fix
2022-12-13 11:37:06 +00:00
Rylan Polster
d5d6456b24
Add checks for on_system
method
2022-07-24 23:01:56 +02:00
Rylan Polster
7b24ed3b4d
Update OnSystem
cop to check other on_{system}
methods
2022-07-24 23:01:56 +02:00
Mike McQuaid
a6e4e195c1
rubocops/lines: recommend on_os/OS.os? based on context.
...
Recommend the use of `on_macos` and `on_linux` unless we're in
`def install`, `def post_install` or `test do` in which case recommend
`OS.mac?` and `OS.linux?` instead.
2021-09-08 13:18:07 +01:00
Mike McQuaid
227a96fd7f
rubocops/lines: remove OS.mac?/OS.linux? check.
...
This will be reimplemented in https://github.com/Homebrew/brew/pull/11955
but this allows us to merge the homebrew-core changes before that PR is
merged.
Closes https://github.com/Homebrew/brew/pull/11946
2021-09-02 13:50:23 +01:00
Bo Anderson
9063945b3e
Promote shell commands audit to global cop
2021-03-17 20:45:41 +00:00
Issy Long
38a427bf0d
test/option_declaration_spec: Align test description with contents
2021-02-20 00:04:05 +00:00
Rylan Polster
d5d7b6c3db
style: remove RSpec/MultipleDescribes violations
...
Co-authored-by: Nanda H Krishna <nanda.harishankar@gmail.com>
2021-02-01 20:30:51 -05:00