Browse Source

HUE-9371 [docs] Reference the commit message hooks

Romain 5 years ago
parent
commit
5483984624
1 changed files with 7 additions and 3 deletions
  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