Skip to content

Commit 51e9f44

Browse files
committed
add eslint, add check if php-cgi exists, rename tests folder into test
1 parent 6f67edb commit 51e9f44

File tree

5 files changed

+249
-148
lines changed

5 files changed

+249
-148
lines changed

.eslintrc.json

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

0 commit comments

Comments
 (0)