# Your code syntax, validating and autofixing it with github hooks

**URL:** <https://www.dolibarr.org/forum/t/your-code-syntax-validating-and-autofixing-it-with-github-hooks/20384>\
**Category:** Developing for Dolibarr\
**Tags:** Developer, Coding-Rules\
**Created:** [March 12, 2021, 2:40pm UTC](https://www.dolibarr.org/forum/t/your-code-syntax-validating-and-autofixing-it-with-github-hooks/20384 "2021-03-12T14:40:43Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![eldy](https://www.dolibarr.org/forum/user_avatar/www.dolibarr.org/eldy/32/12_2.png) [@eldy](https://www.dolibarr.org/forum/u/eldy)\
**Post date:** [March 12, 2021, 2:40pm UTC](https://www.dolibarr.org/forum/t/your-code-syntax-validating-and-autofixing-it-with-github-hooks/20384/1 "2021-03-12T14:40:43Z")

</div>

Hi dolidevs.

I have just validated a process to have your code syntax automatically validated and even fixed when you write code for Dolibarr ERP CRM.

Take a look at the dedicated chapter (install pre-commit hook) on this page:

> **[Dolibarr Open Source ERP and CRM wiki documentation](https://wiki.dolibarr.org/index.php?title=Environment_and_development_tools#Install_Pre-commit_git_hook)**
>
> Online wiki documentation of Dolibar ERP CRM software

You can add if into your development process. It is recommended to every developer to follow this new tool. It will save everybody a lot of time…

---

<div class="post-metadata">

**Author:** ![eldy](https://www.dolibarr.org/forum/user_avatar/www.dolibarr.org/eldy/32/12_2.png) [@eldy](https://www.dolibarr.org/forum/u/eldy)\
**Post date:** [March 21, 2021, 10:16am UTC](https://www.dolibarr.org/forum/t/your-code-syntax-validating-and-autofixing-it-with-github-hooks/20384/2 "2021-03-21T10:16:41Z")

</div>


