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:
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:
......
---
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