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
Markus Reiter
0f0055ede4
Make documentation @api private
by default.
2024-04-26 19:04:20 +02:00
Douglas Eichelberger
3abbf4447e
Some minor regexp match perf improvements
2023-12-27 13:16:36 -08: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
Jonathan Chang
929e481dce
rubocops/keg_only: use rubocop v1 API
2021-01-12 19:11:43 +11:00
Markus Reiter
24ae318a3d
Move type annotations into files.
2020-10-10 14:59:39 +02:00
Markus Reiter
8e55d7fde2
Document FormulaAudit::KegOnly
.
2020-08-26 03:13:59 +02:00
Rylan Polster
e252de5295
style: improve keg_only style checks
2020-07-03 14:35:32 -04:00
Issy Long
0041ea21f5
Change occurrences of "whitelist" to "allowlist"
2020-06-06 22:38:32 +01:00
vidusheeamoli
f851688541
audit: Port audit_keg_only to rubocop and add tests
...
audit: add test
audit: fixed test
audit: added another test case
audit: fix test
audit: fix test
audit: fix keg only
2020-05-05 10:47:49 +05:30