rubocop-default.yml in gitlab-styles-1.0.0 vs rubocop-default.yml in gitlab-styles-2.0.0
- old
+ new
@@ -3,29 +3,18 @@
- rubocop-gitlab-security
- ./lib/gitlab/styles/rubocop
AllCops:
TargetRubyVersion: 2.3
- TargetRailsVersion: 4.2
# Cop names are not d§splayed in offense messages by default. Change behavior
# by overriding DisplayCopNames, or by giving the -D/--display-cop-names
# option.
DisplayCopNames: true
# Style guide URLs are not displayed in offense messages by default. Change
# behavior by overriding DisplayStyleGuide, or by giving the
# -S/--display-style-guide option.
DisplayStyleGuide: false
# Exclude some GitLab files
- Exclude:
- - 'vendor/**/*'
- - 'node_modules/**/*'
- - 'db/*'
- - 'db/fixtures/**/*'
- - 'db/geo/*'
- - 'tmp/**/*'
- - 'bin/**/*'
- - 'generator_templates/**/*'
- - 'builds/**/*'
# Gems in consecutive lines should be alphabetically sorted
Bundler/OrderedGems:
Enabled: false