summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWinnie Hellmann <winnie@gitlab.com>2019-03-25 13:10:01 +0000
committerWinnie Hellmann <winnie@gitlab.com>2019-03-25 13:10:01 +0000
commitec33bc71e923128ffcdabbaf58c96d9cb0794a25 (patch)
treebe2d6f6d4eeedc4e8489ba4cb0be672bd48316f0
parent4e045cd5aa0faf6f6279e8d477a15c9072f679b6 (diff)
downloadgitlab-ce-ec33bc71e923128ffcdabbaf58c96d9cb0794a25.tar.gz
Mark .eslintrc.yml as frontend change for Danger
-rw-r--r--lib/gitlab/danger/helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/danger/helper.rb b/lib/gitlab/danger/helper.rb
index d2b7ca015d4..0d76e324d10 100644
--- a/lib/gitlab/danger/helper.rb
+++ b/lib/gitlab/danger/helper.rb
@@ -108,7 +108,7 @@ module Gitlab
%r{\A(ee/)?public/} => :frontend,
%r{\A(ee/)?spec/(javascripts|frontend)/} => :frontend,
%r{\A(ee/)?vendor/assets/} => :frontend,
- %r{\A(jest\.config\.js|package\.json|yarn\.lock)\z} => :frontend,
+ %r{\A(jest\.config\.js|package\.json|yarn\.lock|\.eslintrc\.yml)\z} => :frontend,
%r{\A(ee/)?app/(?!assets|views)[^/]+} => :backend,
%r{\A(ee/)?(bin|config|danger|generator_templates|lib|rubocop|scripts)/} => :backend,