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:
✖ 1056 problems (1056 errors, 0 warnings)
Attached is the full list of errors found by ESLint. A lot of it has to do with indentation and brackets around ifs. I am not sure which files are third party or not so here is the report for all of them, feel free to ignore report on third party files.
Comment | File | Size | Author |
---|---|---|---|
#1 | imce-ESLint-reformat-2491233-patch.diff | 219.77 KB | VSKor |
imce-eslint-output.txt | 132.41 KB | nod_ |
Comments
Comment #1
VSKor CreditAttribution: VSKor commentedHi,
Here is patch with reformatted code.
Comment #2
VSKor CreditAttribution: VSKor commentedComment #4
ufku CreditAttribution: ufku commentedCommitted, thanks.