-
-
Notifications
You must be signed in to change notification settings - Fork 596
Home
Sylvain LE GAL edited this page Jul 11, 2019
·
4 revisions
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.