Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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 CreditAttribution: 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 CreditAttribution: Bès commentedComment #4
lhangea CreditAttribution: 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!