mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-07 22:54:11 -05:00
* Remove self.check in python3.rb as tests were not actuallly being run * Enable Lint/ImplicitStringConcatenation cop * Enable Layout/CommentIndentation cop * Remove unnecessary configuration of Layout/IndentationStyle to EnforcedStyle: spaces, as this is already the default * Enable Layout/LeadingCommentSpace cop * Enable Layout/SpaceInsideBlockBraces cop * Enable Layout/SpaceInsideParens cop * Enable Layout/TrailingEmptyLines cop * Enable Lint/LiteralAsCondition cop * Document the current issue stopping us from enabling Style/OptionalBooleanParameter * Stop downloading our rubocop config when installing ruby_rubocop
21 lines
453 B
Ruby
21 lines
453 B
Ruby
# Adapted from Arch Linux ruby-rubocop PKGBUILD at:
|
|
# https://aur.archlinux.org/cgit/aur.git/plain/PKGBUILD?h=ruby-rubocop
|
|
|
|
require 'buildsystems/ruby'
|
|
|
|
class Ruby_rubocop < RUBY
|
|
description 'A Ruby static code analyzer and formatter'
|
|
homepage 'https://rubocop.org'
|
|
version '1.63.2-ruby-3.3'
|
|
license 'MIT'
|
|
compatibility 'all'
|
|
source_url 'SKIP'
|
|
|
|
depends_on 'libyaml'
|
|
depends_on 'xdg_base'
|
|
|
|
conflicts_ok
|
|
no_compile_needed
|
|
no_fhs
|
|
end
|