Skip to content

Commit 3f50811

Browse files
committed
Lint/format JS files
1 parent 8f471f0 commit 3f50811

10 files changed

+2947
-1299
lines changed

.eslintrc.cjs

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
module.exports = {
2+
"env": {
3+
"browser": true,
4+
"node": true,
5+
"es2021": true
6+
},
7+
"extends": "eslint:recommended",
8+
"parserOptions": {
9+
"ecmaVersion": "latest",
10+
"sourceType": "module"
11+
},
12+
"rules": {
13+
}
14+
}

.gitignore

+4-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,10 @@
22
!**/**/
33
!.gitignore
44
!*.js
5+
!*.cjs
56
!*.html
67
!*.css
7-
!package.json
8-
!package-lock.json
8+
!*.json
9+
!*.yaml
10+
!*.yml
911
node_modules

0 commit comments

Comments
 (0)