We aren't going to vendor its dependencies because we already require a systemwide installation of `rubocop` to work in your editor. This avoids requiring users to manually do another `gem install rubocop-rspec` to have their editor integration behave as expected.
85 lines
2.3 KiB
Plaintext
85 lines
2.3 KiB
Plaintext
# First, ignore everything.
|
|
/*
|
|
|
|
# Explicitly ignore OS X Finder thumbnail files.
|
|
.DS_Store
|
|
|
|
# Unignore the contents of `Library` as that's where our code lives.
|
|
!/Library/
|
|
|
|
# Ignore files within `Library` (again).
|
|
/Library/Homebrew/.npmignore
|
|
/Library/Homebrew/bin
|
|
/Library/Homebrew/doc
|
|
/Library/Homebrew/test/.gem
|
|
/Library/Homebrew/test/.subversion
|
|
/Library/Homebrew/test/coverage
|
|
/Library/Homebrew/test/fs_leak_log
|
|
/Library/Homebrew/vendor/portable-ruby
|
|
/Library/Taps
|
|
|
|
# Ignore Bundler files
|
|
**/.bundle/bin
|
|
**/.bundle/cache
|
|
**/vendor/bundle
|
|
**/vendor/ruby
|
|
**/vendor/bundle-standalone/ruby/*/bin
|
|
**/vendor/bundle-standalone/ruby/*/cache
|
|
**/vendor/bundle-standalone/ruby/*/extensions
|
|
**/vendor/bundle-standalone/ruby/*/gems/*/*
|
|
**/vendor/bundle-standalone/ruby/*/specifications
|
|
|
|
# Unignore vendored gems
|
|
!**/vendor/bundle-standalone/ruby/*/gems/*/lib
|
|
|
|
# Ignore partially included gems where we don't need all files
|
|
**/vendor/bundle-standalone/ruby/*/gems/activesupport-*/lib
|
|
**/vendor/bundle-standalone/ruby/*/gems/concurrent-ruby-*/lib
|
|
**/vendor/bundle-standalone/ruby/*/gems/backports-*/lib
|
|
**/vendor/bundle-standalone/ruby/*/gems/i18n-*/lib
|
|
**/vendor/bundle-standalone/ruby/*/gems/minitest-*/lib
|
|
**/vendor/bundle-standalone/ruby/*/gems/thread_safe-*/lib
|
|
**/vendor/bundle-standalone/ruby/*/gems/tzinfo-*/lib
|
|
|
|
# Ignore rubocop dependencies we don't wish to vendor
|
|
**/vendor/bundle-standalone/ruby/*/gems/ast-*/
|
|
**/vendor/bundle-standalone/ruby/*/gems/jaro_winkler-*/
|
|
**/vendor/bundle-standalone/ruby/*/gems/parallel-*/
|
|
**/vendor/bundle-standalone/ruby/*/gems/parser-*/
|
|
**/vendor/bundle-standalone/ruby/*/gems/powerpack-*/
|
|
**/vendor/bundle-standalone/ruby/*/gems/rainbow-*/
|
|
**/vendor/bundle-standalone/ruby/*/gems/rubocop-*/
|
|
**/vendor/bundle-standalone/ruby/*/gems/ruby-progressbar-*/
|
|
**/vendor/bundle-standalone/ruby/*/gems/unicode-display_width-*/
|
|
|
|
# Ignore `bin` contents (again).
|
|
/bin
|
|
|
|
# Unignore our `brew` script.
|
|
!/bin/brew
|
|
|
|
# Unignore our documentation/completions.
|
|
!/.github
|
|
!/completions
|
|
!/docs
|
|
!/manpages
|
|
|
|
# Ignore generated documentation site
|
|
/docs/_site
|
|
/docs/bin
|
|
/docs/.jekyll-metadata
|
|
|
|
# Unignore our root-level metadata files.
|
|
!/.gitignore
|
|
!/.travis.yml
|
|
!/.codecov.yml
|
|
!/.yardopts
|
|
!/CHANGELOG.md
|
|
!/CODE_OF_CONDUCT.md
|
|
!/CONTRIBUTING.md
|
|
!/LICENSE.txt
|
|
!/README.md
|
|
|
|
# Unignore tests' bundle config
|
|
!/Library/Homebrew/test/.bundle/config
|