Jonathan Chang
df8e030174
rubocops/patches: use rubocop v1 API
2021-01-12 19:11:43 +11:00
Seeker
b9854bd4cf
rubocops: add unless_multiple_conditions
2021-01-08 10:33:54 -08:00
Markus Reiter
da9289eff0
Add more type signatures.
2020-11-13 12:26:36 +01:00
EricFromCanada
3768b7a6e9
apidoc: update comment wording, punctuation, formatting
2020-11-06 00:21:02 -05:00
Seeker
ea10192f8b
rubocops/patches: GitHub/GitLab patches should end with .patch
2020-10-21 00:03:47 +11:00
Markus Reiter
24ae318a3d
Move type annotations into files.
2020-10-10 14:59:39 +02:00
Mike McQuaid
8b97c27c21
brew style manual fixes
2020-09-01 14:26:45 +01:00
Dustin Rodrigues
de8cc4106a
style: don't allow PR/MR urls for patches
2020-08-01 16:20:46 -04:00
Dustin Rodrigues
af3ea7d5aa
Revert "style: don't allow PR/MR urls for patches"
...
This reverts commit 7a2483728c18e9cfb45e4b3f079687ec5a8e1503.
2020-07-28 21:20:46 -04:00
Dustin Rodrigues
7a2483728c
style: don't allow PR/MR urls for patches
2020-07-28 10:18:26 -04:00
Frank Lam
ffb1cc8e19
Find patch nodes nested inside blocks
2020-06-27 03:13:50 +08:00
Frank Lam
afb8445380
Add inline patch checks to patches cop
2020-06-27 01:10:52 +08:00
Mike McQuaid
632813d969
rubocops/patches: reduce required revision length.
2020-04-13 16:01:26 +01:00
Alexander Bayandin
b37c3e9cb2
rubocops/patches: suggest url with full_index=1
2020-03-15 11:24:38 +00:00
Issy Long
9f80a7bce2
rubocops/patches: Make more GitHub patch locations enforce revisions
...
- We recently deleted a load of old Homebrew/formula-patches patches for
non-existent core formulae
(https://github.com/Homebrew/formula-patches/pull/283 ). This is a good
action to take. Users should always be able to retrieve the patch once
it's been deleted from the repo, if the formula they continue to use
specifies a git revision to pull from, not just `master`.
- The code to detect `master` formulae was already here, so this adds
another GitHub host to the detection: `raw.githubusercontent.com` as
that's what the current patches that use `master`
(https://github.com/Homebrew/homebrew-core/pull/51329 ) link to.
- Fixes https://github.com/Homebrew/homebrew-core/issues/51313 .
2020-03-08 20:21:43 +00:00
Issy Long
1f6168fe8a
Change regexp.match?(string) to string.match?(regexp) everywhere
...
- Only try to call `.match?` on strings that aren't nil.
2019-10-13 23:22:51 +01:00
Issy Long
37fee928b5
Auto-fix Style/NegatedIf offenses
2019-10-13 16:04:35 +01:00
Issy Long
b78028b9c2
Auto-fix Performance/RegexpMatch offenses
2019-10-13 16:04:26 +01:00
Mike McQuaid
36dbad3922
Add frozen_string_literal to all files.
2019-04-20 13:27:36 +09:00
EricFromCanada
89f0fcedbe
whitespace fixes
2019-04-13 21:32:04 -04:00
Mike McQuaid
376eac2b8d
rubocops: rename files for consistency.
...
Make the filenames consistent with the class names.
2018-11-08 14:42:55 +00:00