Browse Source

DX: integrate PRLint (#6406)

Dariusz Rumiński 2 years ago
parent
commit
983373b7e2
1 changed files with 8 additions and 0 deletions
  1. 8 0
      .github/prlint.json

+ 8 - 0
.github/prlint.json

@@ -0,0 +1,8 @@
+{
+  "title": [
+    {
+      "pattern": "^(feature|bug|minor|docs|DX):\\s.+\\S$",
+      "message": "Your title needs to match the convention: use '(feature|bug|minor|docs|DX):' prefix."
+    }
+  ]
+}