Commit 227cc997 authored by Stan Hu's avatar Stan Hu

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

Check frozen string in style builds

See merge request gitlab-org/gitlab-ce!21999
parents d9241761 8ace2d5c
...@@ -35,6 +35,25 @@ Style/MutableConstant: ...@@ -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:
......
---
title: Check frozen string in style builds
merge_request:
author: gfyoung
type: other
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment