diff options
author | Mike Greiling <mike@pixelcog.com> | 2019-03-25 21:24:24 +0300 |
---|---|---|
committer | Mike Greiling <mike@pixelcog.com> | 2019-03-25 21:31:52 +0300 |
commit | 8edad869d6e54c63af9ab098cd32b0d762e49547 (patch) | |
tree | edb1de0d3ff1ebf3cb58c84cf52f924709c5badd /lib | |
parent | 20fef917f546c606da0b190c47abbbc461e57c55 (diff) |
Update frontend-specific files in reviewer roulette
Diffstat (limited to 'lib')
-rw-r--r-- | lib/gitlab/danger/helper.rb | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/lib/gitlab/danger/helper.rb b/lib/gitlab/danger/helper.rb index 0d76e324d10..89cb94d8df1 100644 --- a/lib/gitlab/danger/helper.rb +++ b/lib/gitlab/danger/helper.rb @@ -108,7 +108,23 @@ 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|\.eslintrc\.yml)\z} => :frontend, + %r{\Ascripts/frontend/} => :frontend, + %r{( + \.babelrc | + \.eslintignore | + \.eslintrc(\.yml)? | + \.nvmrc | + \.prettierignore | + \.prettierrc | + \.scss-lint.yml | + \.stylelintrc | + babel\.config\.js | + jest\.config\.js | + karma\.config\.js | + webpack\.config\.js | + package\.json | + yarn\.lock + )\z}x => :frontend, %r{\A(ee/)?app/(?!assets|views)[^/]+} => :backend, %r{\A(ee/)?(bin|config|danger|generator_templates|lib|rubocop|scripts)/} => :backend, |