| Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
go: various tweaks to recommendations
|
|
|
|
lines_cop: Add condition to prevent false positives
|
|
|
|
formula_desc_cop: Whitelist "etc." and fix the full stop autocorrect
|
|
lines_cop: Update regex patterns to prevent false positives
|
|
- It wasn't working because desc strings end in quotes, not just full
stops.
|
|
|
|
|
|
|
|
|
|
- This was a suggestion by Mike McQuaid in my `homebrew-core` audit
description PR. Based on ilovezfs's incantation `grep -r -E 'desc
".*\."' *.rb`, some formulae descriptions do end in full stops. (My
initial assessment of this failed to account for the fact that
descriptions are strings and so end in `"`.)
- Add an autocorrect for this cop, too.
|
|
You need a start of line check in this regex (like was added in the
others) to allow things like `#{bin}/clang++`.
|
|
|
|
lines_cop: fix clang detection.
|
|
|
|
We only care about e.g. `gcc`/`llvm-gcc`/`clang` being at the beginning
of a `system` call and not anywhere within the string.
|
|
|
|
|
|
|
|
|
|
lines_cop: add ENV.universal_binary audit exemption for wine
|
|
|
|
Just a slightly tweaked version of https://github.com/Homebrew/brew/issues/3286#issuecomment-334983011
|
|
|
|
|
|
|
|
audit: Port line_problems to rubocop and add tests part 3
|
|
|
|
|
|
|
|
|
|
|
|
audit: Port line_problems to rubocop and add tests part 2
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|