Updated Home (markdown)

master
Sylvain LE GAL 5 years ago
parent
commit
5330cc2518
  1. 17
      Home.md

17
Home.md

@ -1,2 +1,15 @@
Welcome to the pos wiki :)
Hello from ah :)
# Using esLint in OCA/pos repository
To avoid to have warnings and errors in Travis log, regarding Javascript lint, you can use
the OCA Tools pylint-odoo.
```
git clone https://github.com/OCA/pylint-odoo
cd pylint-odoo
eslint --fix --config pylint_odoo/examples/.jslintrc $MY_MODULE_PATH
```
This command will fix most of the lint error syntax, and list the errors the tools can not fix automatically.
You can then fix them manually.
Loading…
Cancel
Save