As per the Drupal the JavaScript code needs to follow the JavaScript coding standards. For this we use ESLint to check most of our standards.
Here is the summary of running ESLint on the 2 .js files of this GPA Calculator module:
✖ 32 problems (32 errors, 1 warnings)
Attached is the full list of errors found using ESLint.
Please find the attached patch which fixes this.
| Comment | File | Size | Author |
|---|---|---|---|
| output.txt | 1.69 KB | pashupathi nath gajawada | |
| gpa_calculator.patch | 7.13 KB | pashupathi nath gajawada |
Issue fork gpa_calculator-2682477
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
avpadernoComment #3
pyrello commentedComment #7
pyrello commentedCrediting the folks who opened the duplicate issues.
Comment #9
pyrello commentedAdding contributor from https://www.drupal.org/project/gpa_calculator/issues/2892830
Comment #10
pyrello commentedComment #12
pyrello commented