rubocops/cask: arch stanzas come before & are separate to on_#{arch}
- https://github.com/Homebrew/brew/pull/14976#issuecomment-1469002998. - This drops the number of offenses currently in the Cask repo down from 111 to 46.
This commit is contained in:
parent
b6062acdbe
commit
b484a29006
@ -6,7 +6,8 @@ module RuboCop
|
|||||||
# Constants available globally for use in all cask cops.
|
# Constants available globally for use in all cask cops.
|
||||||
module Constants
|
module Constants
|
||||||
STANZA_GROUPS = [
|
STANZA_GROUPS = [
|
||||||
[:on_arm, :on_intel, :arch, :on_arch_conditional],
|
[:arch, :on_arch_conditional],
|
||||||
|
[:on_arm, :on_intel],
|
||||||
[:version, :sha256],
|
[:version, :sha256],
|
||||||
[:language],
|
[:language],
|
||||||
[:url, :appcast, :name, :desc, :homepage],
|
[:url, :appcast, :name, :desc, :homepage],
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user