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:
commit
227cc997fb
19
.rubocop.yml
19
.rubocop.yml
|
@ -35,6 +35,25 @@ Style/MutableConstant:
|
||||||
Style/SafeNavigation:
|
Style/SafeNavigation:
|
||||||
Enabled: false
|
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:
|
Naming/FileName:
|
||||||
ExpectMatchingDefinition: true
|
ExpectMatchingDefinition: true
|
||||||
Exclude:
|
Exclude:
|
||||||
|
|
|
@ -0,0 +1,5 @@
|
||||||
|
---
|
||||||
|
title: Check frozen string in style builds
|
||||||
|
merge_request:
|
||||||
|
author: gfyoung
|
||||||
|
type: other
|
Loading…
Reference in New Issue