Unify (mostly) Homebrew code style
Make the Homebrew/cask and Homebrew/homebrew-core style more closely match the rest of Homebrew. To accomplish this: - Run `brew cask style` to ensure we don't break style there when making changes or upgrading RuboCop in Homebrew/brew. - Fix the HomepageMatchesUrl cop to better handle weird input. - Remove the now unneeded `.rubocop_shared.yml` - Fix the cask fixtures with `brew cask style --fix`. - Share more style between Homebrew/brew, casks and formulae.
Showing
- .github/workflows/tests.yml 7 additions, 0 deletions.github/workflows/tests.yml
- Library/.rubocop.yml 136 additions, 20 deletionsLibrary/.rubocop.yml
- Library/.rubocop_cask.yml 3 additions, 43 deletionsLibrary/.rubocop_cask.yml
- Library/.rubocop_shared.yml 0 additions, 110 deletionsLibrary/.rubocop_shared.yml
- Library/Homebrew/.rubocop.yml 2 additions, 25 deletionsLibrary/Homebrew/.rubocop.yml
- Library/Homebrew/cask/cmd/internal_stanza.rb 1 addition, 5 deletionsLibrary/Homebrew/cask/cmd/internal_stanza.rb
- Library/Homebrew/rubocops/cask/homepage_matches_url.rb 8 additions, 2 deletionsLibrary/Homebrew/rubocops/cask/homepage_matches_url.rb
- Library/Homebrew/test/cask/cmd/cat_spec.rb 6 additions, 6 deletionsLibrary/Homebrew/test/cask/cmd/cat_spec.rb
- Library/Homebrew/test/cask/cmd/style_spec.rb 4 additions, 2 deletionsLibrary/Homebrew/test/cask/cmd/style_spec.rb
- Library/Homebrew/test/style_spec.rb 0 additions, 2 deletionsLibrary/Homebrew/test/style_spec.rb
- Library/Homebrew/test/support/fixtures/cask/Casks/adobe-air.rb 7 additions, 7 deletions...ry/Homebrew/test/support/fixtures/cask/Casks/adobe-air.rb
- Library/Homebrew/test/support/fixtures/cask/Casks/adobe-illustrator.rb 7 additions, 7 deletions...rew/test/support/fixtures/cask/Casks/adobe-illustrator.rb
- Library/Homebrew/test/support/fixtures/cask/Casks/appdir-interpolation.rb 4 additions, 4 deletions.../test/support/fixtures/cask/Casks/appdir-interpolation.rb
- Library/Homebrew/test/support/fixtures/cask/Casks/auto-updates.rb 5 additions, 5 deletions...Homebrew/test/support/fixtures/cask/Casks/auto-updates.rb
- Library/Homebrew/test/support/fixtures/cask/Casks/bad-checksum.rb 5 additions, 5 deletions...Homebrew/test/support/fixtures/cask/Casks/bad-checksum.rb
- Library/Homebrew/test/support/fixtures/cask/Casks/bad-checksum2.rb 5 additions, 5 deletions...omebrew/test/support/fixtures/cask/Casks/bad-checksum2.rb
- Library/Homebrew/test/support/fixtures/cask/Casks/basic-cask.rb 6 additions, 6 deletions...y/Homebrew/test/support/fixtures/cask/Casks/basic-cask.rb
- Library/Homebrew/test/support/fixtures/cask/Casks/booby-trap.rb 3 additions, 3 deletions...y/Homebrew/test/support/fixtures/cask/Casks/booby-trap.rb
- Library/Homebrew/test/support/fixtures/cask/Casks/compat/with-depends-on-macos-string.rb 5 additions, 5 deletions...ixtures/cask/Casks/compat/with-depends-on-macos-string.rb
- Library/Homebrew/test/support/fixtures/cask/Casks/container-7z.rb 6 additions, 6 deletions...Homebrew/test/support/fixtures/cask/Casks/container-7z.rb
Library/.rubocop_shared.yml
deleted
100644 → 0
Please register or sign in to comment