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:
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"
|
||||
};
|
Reference in New Issue
Block a user