As of Drupal 8 all JS needs to follow our JavaScript coding standards. For this we use ESLint to check most of our standards.
Here is the summary of running ESLint on this module JS:
✖ 49 problems (49 errors, 0 warnings)
Attached is the full list of errors found by ESLint.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | fix-eslint-errors-2490874.patch | 5.02 KB | bès |
| diff-eslint-output.txt | 3.24 KB | bès |
Comments
Comment #1
bès commentedHere is a patch that fix the small errors. Lots of them are about bad indentation be sure to configure your editor using the JavaScript coding standards.
Comment #2
bès commentedComment #4
lhangea commentedThe test bot was stuck because of a fatal error with schema validation. About this one, I checked with eslint, the javascript is validated after applying the patch.
Thanks for your contribution!