|
|
@ -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. |
|
|
|
|