Skip to content

Commit 8583385

Browse files
committed
Use ESLint instead of JSHint
1 parent 48dcd27 commit 8583385

File tree

4 files changed

+738
-28
lines changed

4 files changed

+738
-28
lines changed

.jshintrc

-26
This file was deleted.

eslintrc.json

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{
2+
"env": {
3+
"commonjs": true,
4+
"es6": true,
5+
"node": true,
6+
"mocha": true
7+
},
8+
"extends": "eslint:recommended",
9+
"globals": {
10+
"Atomics": "readonly",
11+
"SharedArrayBuffer": "readonly"
12+
},
13+
"parserOptions": {
14+
"ecmaVersion": 2018
15+
},
16+
"rules": {
17+
"eqeqeq": ["error", "smart"],
18+
"no-var": ["error"],
19+
"prefer-const": ["error"]
20+
}
21+
}

0 commit comments

Comments
 (0)