Add linter for JS files with basic recommended rules:

- Add Github Action.
- Fix JS files to match rules; mostly `globals` and `exported`.
This commit is contained in:
Fabien Basmaison
2021-03-31 17:07:28 +02:00
parent 40c7bde7ec
commit 53f03457cc
8 changed files with 376 additions and 11 deletions

View File

@ -1,3 +1,6 @@
/* exported updateDisplay */
/* globals addRemoveClass */
// set javascript listeners
function updateDisplay(e) {
// used in set reading goal