Skip to content

Commit f45f9a2

Browse files
committed
Add eslint to project
1 parent a9f93b1 commit f45f9a2

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

.eslintrc.js

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
module.exports = {
2+
"env": {
3+
"browser": true,
4+
"es2021": true
5+
},
6+
"extends": "standard",
7+
"overrides": [
8+
{
9+
"env": {
10+
"node": true
11+
},
12+
"files": [
13+
".eslintrc.{js,cjs}"
14+
],
15+
"parserOptions": {
16+
"sourceType": "script"
17+
}
18+
}
19+
],
20+
"parserOptions": {
21+
"ecmaVersion": "latest"
22+
},
23+
"rules": {
24+
}
25+
}

0 commit comments

Comments
 (0)