Commit 8ace2d5c authored by gfyoung's avatar gfyoung

Check frozen string in style builds

parent d5734de3
...@@ -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