提交 227cc997 编写于 作者: S Stan Hu

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

Check frozen string in style builds

See merge request gitlab-org/gitlab-ce!21999
......@@ -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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册