Sam Ford
17b0493e18
Use struct for #audit_formula
args
...
Adding type signatures to `#audit_formula` methods in formula cops
would lead to verbose, repetitive signatures across the existing ~63
instances. This reworks `#audit_formula` to use a `T::Struct` for its
arguments, which allows us to use a one-line signature for these
methods.
2024-07-08 12:22:25 -04:00
Douglas Eichelberger
387d2f859f
Use exclude_from_registry instead
2023-02-20 18:14:47 -08:00
Douglas Eichelberger
d9db5e8825
Refactor FormulaCop as a mixin
2023-02-20 18:14:47 -08:00
Douglas Eichelberger
e98e668a34
remove redundant string extension
2023-01-28 08:26:11 -08:00
Bo Anderson
6ede5d2dd5
rubocops: handle empty formula body in various cops
2022-11-05 04:40:16 +00:00
Mike McQuaid
2d5eab2e1c
brew style --fix
2022-06-30 08:56:21 +01:00
Jonathan Chang
f57c96465c
rubocops/conflicts: use rubocop v1 API
2021-01-12 19:11:43 +11:00
Rylan Polster
e823dd713e
Migrate VERSIONED_FORMULAE_CONFLICTS_ALLOWLIST
2020-11-30 18:18:50 -05:00
EricFromCanada
3768b7a6e9
apidoc: update comment wording, punctuation, formatting
2020-11-06 00:21:02 -05:00
Markus Reiter
24ae318a3d
Move type annotations into files.
2020-10-10 14:59:39 +02:00
EricFromCanada
8540aaf218
audit: disallow capitalization and period in conflicts_with reason
2020-07-07 13:25:54 -04:00
Issy Long
0041ea21f5
Change occurrences of "whitelist" to "allowlist"
2020-06-06 22:38:32 +01:00
Mike McQuaid
2e74e50f82
rubocop/conflicts: use full name in whitelist.
2020-04-12 14:17:05 +01:00
Mike McQuaid
36dbad3922
Add frozen_string_literal to all files.
2019-04-20 13:27:36 +09: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