Check frozen string in style builds

This commit is contained in:
gfyoung 2018-09-28 02:43:07 -07:00
parent d5734de3d6
commit 8ace2d5c55
2 changed files with 24 additions and 0 deletions

View file

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

View file

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