diff options
| author | Christophe Monniez <moc@odoo.com> | 2019-05-28 14:01:23 +0000 |
|---|---|---|
| committer | Christophe Monniez <moc@odoo.com> | 2019-05-30 11:22:10 +0000 |
| commit | b27077bb0c3977c29597054d6206cea5e4d70265 (patch) | |
| tree | b76570fc685602c55040c33eda6323e678949cd7 /addons/web/static/src/js/fields/basic_fields.js | |
| parent | d85451800f7b6d6404757b40400e3d5e4d25fa55 (diff) | |
[MOV] test_pylint, test_lint: add es-check linter
Because Odoo still supports Android Kitkat and Internet Explorer, ES5 is
the highest ECMAScript allowed version.
This commit adds a new test that parses each javascript file found in
addons. The test fails if unsupported js code is found. As ES6 is
allowed during tests, the files under a path that contains 'static/test'
are just skipped.
This test uses the es-check tool
(https://www.npmjs.com/package/es-check).
If the es-check tool cannot be found, the test is simply skipped.
Also the test_pylint module is renamed to a more generic name test_lint,
that way, every linter test can find a shelter here.
closes odoo/odoo#33724
Signed-off-by: Christophe Monniez (moc) <moc@odoo.com>
Diffstat (limited to 'addons/web/static/src/js/fields/basic_fields.js')
0 files changed, 0 insertions, 0 deletions
