summaryrefslogtreecommitdiff
path: root/Dangerfile
diff options
context:
space:
mode:
authorLukas Eipert <leipert@gitlab.com>2018-09-21 17:36:26 +0200
committerLukas Eipert <leipert@gitlab.com>2018-09-28 22:04:26 +0200
commit4df24e5f046f94a04b379fcd1d6d57ef49cfd6dc (patch)
tree40dfba20f0ba04528cdd9c5d6431273dc3d2eb6f /Dangerfile
parentab6b4488033e6291ba1c2295ea87884ff37e7508 (diff)
downloadgitlab-ce-4df24e5f046f94a04b379fcd1d6d57ef49cfd6dc.tar.gz
Danger check for unprettified JavaScript
This adds a Dangerfile which executes `prettier` to find out if someone touched Frontend files and forgot to run it on their current branch.
Diffstat (limited to 'Dangerfile')
-rw-r--r--Dangerfile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Dangerfile b/Dangerfile
index 46e53edcac4..fe1e3d16ba5 100644
--- a/Dangerfile
+++ b/Dangerfile
@@ -7,3 +7,4 @@ danger.import_dangerfile(path: 'danger/database')
danger.import_dangerfile(path: 'danger/documentation')
danger.import_dangerfile(path: 'danger/frozen_string')
danger.import_dangerfile(path: 'danger/commit_messages')
+danger.import_dangerfile(path: 'danger/prettier')