Merge branch 'frozen-string-app-enforce' into 'master'

Check frozen string in style builds

See merge request gitlab-org/gitlab-ce!21999
This commit is contained in:
Stan Hu 2018-09-29 10:52:41 +00:00
commit 227cc997fb
2 changed files with 24 additions and 0 deletions

View File

@ -35,6 +35,25 @@ Style/MutableConstant:
Style/SafeNavigation:
Enabled: false
# Frozen String Literal
Style/FrozenStringLiteralComment:
Enabled: true
Exclude:
- 'config.ru'
- 'Dangerfile'
- 'Gemfile'
- 'Rakefile'
- 'app/views/**/*'
- 'config/**/*'
- 'danger/**/*'
- 'db/**/*'
- 'ee/**/*'
- 'lib/**/*'
- 'qa/**/*'
- 'rubocop/**/*'
- 'scripts/**/*'
- 'spec/**/*'
Naming/FileName:
ExpectMatchingDefinition: true
Exclude:

View File

@ -0,0 +1,5 @@
---
title: Check frozen string in style builds
merge_request:
author: gfyoung
type: other