summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Bennett <lbennett@gitlab.com>2019-03-15 17:08:27 +0000
committerLuke Bennett <lbennett@gitlab.com>2019-03-15 17:08:27 +0000
commit1e1ebed11926b28ffdfa85b86d192262e5013d78 (patch)
tree5b8e7d1d14ce6d17bbaed6bf3aa454da982a8a50
parent297ce3e58611a0455f2666caa5a0989f2ec4e03a (diff)
downloadgitlab-ce-danger-yarnrc.tar.gz
Add .yarnrc as FE danger filedanger-yarnrc
-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..6679c89d1ff 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|\.yarnrc)\z} => :frontend,
%r{\A(ee/)?app/(?!assets|views)[^/]+} => :backend,
%r{\A(ee/)?(bin|config|danger|generator_templates|lib|rubocop|scripts)/} => :backend,