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:
parent
40c7bde7ec
commit
53f03457cc
8 changed files with 376 additions and 11 deletions
10
.eslintrc.js
Normal file
10
.eslintrc.js
Normal file
|
@ -0,0 +1,10 @@
|
|||
/* global module */
|
||||
|
||||
module.exports = {
|
||||
"env": {
|
||||
"browser": true,
|
||||
"es6": true
|
||||
},
|
||||
|
||||
"extends": "eslint:recommended"
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue