Fix order and grouping of cask stanzas

- Put `desc` stanza after the `name` stanza
- Add missing `vst3_plugin` stanza to the group containing `vst_plugin`
This commit is contained in:
Waldir Pimenta 2020-08-09 10:25:35 +01:00
parent d5dfe4d6a1
commit 1b71d99f45

View File

@ -6,7 +6,7 @@ module RuboCop
module Constants module Constants
STANZA_GROUPS = [ STANZA_GROUPS = [
[:version, :sha256], [:version, :sha256],
[:url, :appcast, :desc, :name, :homepage], [:url, :appcast, :name, :desc, :homepage],
[ [
:auto_updates, :auto_updates,
:conflicts_with, :conflicts_with,
@ -32,6 +32,7 @@ module RuboCop
:service, :service,
:audio_unit_plugin, :audio_unit_plugin,
:vst_plugin, :vst_plugin,
:vst3_plugin,
:artifact, :artifact,
:stage_only, :stage_only,
], ],