diff options
author | gfyoung <gfyoung17@gmail.com> | 2018-09-28 02:43:07 -0700 |
---|---|---|
committer | gfyoung <gfyoung17@gmail.com> | 2018-09-28 13:58:43 -0700 |
commit | 8ace2d5c55d5de545c4124af0de39ad94237058e (patch) | |
tree | cff75ae494eb261f90c02899c619f6af7403e9e9 /.rubocop.yml | |
parent | d5734de3d60983fcb3d3f3099d47fe9831e453ad (diff) | |
download | gitlab-ce-8ace2d5c55d5de545c4124af0de39ad94237058e.tar.gz |
Check frozen string in style builds
Diffstat (limited to '.rubocop.yml')
-rw-r--r-- | .rubocop.yml | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/.rubocop.yml b/.rubocop.yml index ce7be208186..b7aec5b8b14 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -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: |