Commit Graph

20 Commits

Author SHA1 Message Date
BrewTestBot c50c000949
.rubocop.yml: update to match main configuration 2024-06-03 11:52:51 +00:00
BrewTestBot e2c1aa0439
.rubocop.yml: update to match main configuration 2024-05-24 16:17:44 +00:00
BrewTestBot 567650b59a
.rubocop.yml: update to match main configuration 2024-05-24 14:58:42 +00:00
BrewTestBot 5c1b15e223
.rubocop.yml: update to match main configuration 2024-05-24 14:24:51 +00:00
Anastasia Sulyagina 0ec06e9a95 Cask core code moved to Homebrew (#23852) 2016-08-19 16:53:18 +02:00
Markus Reiter e85ac5b2c8 Exclude `**/vendor/**/*` from RuboCop. (#23569) 2016-08-09 10:18:15 +02:00
Markus Reiter ed5452b728 Run RuboCop on all core files. (#22855)
Add Style/BlockDelimiters cop.
2016-07-19 14:11:22 -04:00
Josh Hagins 8ded30dcde Move brew-cask formula to Formula directory (#22669)
This allows us to enforce hash-rocket syntax for `brew-cask.rb`.
2016-07-08 14:26:03 -04:00
Alex Dunn dba6d3007e brew-cask.rb: use 1.8-valid syntax (#22646)
The `key: value` syntax wasn't introduced until 1.9.

Causing a failure here: https://travis-ci.org/Homebrew/homebrew-emacs/jobs/142633016#L284
2016-07-08 13:39:58 -04:00
Markus Reiter 11eedac599 Core Code Cleanup 2016-07-05 02:29:10 -04:00
Josh Hagins a67e080cc3 Move cask-specific rubocop configuration to Casks/.rubocop.yml 2016-01-16 18:19:30 -05:00
Josh Hagins c4fff7ec94 Exclude invalid-header-format test cask from rubocop 2016-01-04 05:26:12 -05:00
Josh Hagins ea1c6d2948 Be explicit about what we are excluding in RuboCop
This allows us to consistently lint test casks, and also will make
future updates to the list of files we lint a bit easier.
2016-01-04 05:26:12 -05:00
Josh Hagins ac5de248fa Update rubocop config for upcoming release 2016-01-03 15:28:49 -05:00
Josh Hagins ac9a724c5e Add rubocop-cask plugin for analyzing cask files
Source: https://github.com/jawshooah/rubocop-cask
2015-12-18 05:22:40 -05:00
Josh Hagins 425bc0a1b7 Update configs for updated rubocop 2015-12-18 05:20:46 -05:00
Josh Hagins 0f7a364724 Ignore Metrics/LineLength rule for Casks 2015-03-08 04:36:12 -04:00
Josh Hagins 2c066c0b6b Ignore Style/FileName rule for Casks
Casks are not named using snake_case, so exclude them from the
check. Leave it enabled for other files, though.
2015-03-08 01:11:04 -05:00
Josh Hagins 952a93a221 Enforce '%Q{}' literal style rather than '%{}' 2015-03-08 01:11:04 -05:00
Josh Hagins 16b172696f Add rubocop initial config with todo list 2015-03-06 19:07:58 -05:00