浏览代码

HUE-9371 [docs] Reference the commit message hooks

Romain 5 年之前
父节点
当前提交
5483984624
共有 1 个文件被更改,包括 7 次插入3 次删除
  1. 7 3
      docs/docs-site/content/developer/development/_index.md

+ 7 - 3
docs/docs-site/content/developer/development/_index.md

@@ -102,9 +102,13 @@ Restart Hue, open the Editors and start typing your first queries!
 
 #### Lint configs
 
-* [https://github.com/cloudera/hue/blob/master/.eslintrc.js](.eslintrc.js)
-* [https://github.com/cloudera/hue/blob/master/desktop/.pylintrc](.pylintrc)
-* [https://github.com/cloudera/hue/blob/master/.prettierrc](.prettierrc)
+* [.eslintrc.js](https://github.com/cloudera/hue/blob/master/.eslintrc.js)
+* [.pylintrc](https://github.com/cloudera/hue/blob/master/desktop/.pylintrc)
+* [.prettierrc](https://github.com/cloudera/hue/blob/master/.prettierrc)
+* [git hooks](https://github.com/cloudera/hue/blob/master/tools/githooks)
+
+    cp tools/githooks/* .git/hooks
+    chmod +x .git/hooks/*
 
 #### Visual Code