summaryrefslogtreecommitdiff
path: root/scripts/lint-vendored-gems.sh
blob: ac8b837bbd12fb4c7b5b534e4b34842a143a251d (plain)
1
2
3
4
5
#!/bin/sh

# Rubocop doesn't have a good way to run excluded files without a separate invocation:
# https://github.com/rubocop/rubocop/issues/6323
find vendor/gems -name \*.gemspec | xargs bundle exec rubocop --only Gemspec/AvoidExecutingGit