Skip to content

Commit 6457709

Browse files
committed
Make eslint happy
1 parent 8b4f758 commit 6457709

File tree

4 files changed

+360
-361
lines changed

4 files changed

+360
-361
lines changed

.eslintrc.js

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
module.exports = {
2+
"env": {
3+
"browser": true,
4+
"node": true
5+
},
6+
"extends": "eslint:recommended",
7+
"globals": {
8+
"Uint8Array": false,
9+
"define": false,
10+
"Float32Array": false
11+
},
12+
"rules": {
13+
"indent": [
14+
"error",
15+
2
16+
],
17+
"linebreak-style": [
18+
"error",
19+
"unix"
20+
],
21+
"quotes": [
22+
"error",
23+
"single"
24+
],
25+
"semi": [
26+
"error",
27+
"always"
28+
]
29+
}
30+
};

.jshintrc

Lines changed: 0 additions & 29 deletions
This file was deleted.

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
"eslint-plugin-node": "^6.0.0",
1717
"eslint-plugin-promise": "^3.6.0",
1818
"eslint-plugin-standard": "^3.0.1",
19-
"jshint": "^2.9.5",
2019
"mocha": "^5.0.0"
2120
},
2221
"bugs": {
@@ -38,7 +37,7 @@
3837
"url": "https://github.com/jwagner/simplex-noise.js.git"
3938
},
4039
"scripts": {
41-
"test": "eslint simplex-noise.js && jshint simplex-noise.js && mocha",
40+
"test": "eslint simplex-noise.js && mocha",
4241
"benchmark": "node ./perf/benchmark.js"
4342
}
4443
}

0 commit comments

Comments
 (0)