Merge pull request #5 from brendankenny/eslint
add bare Google-style eslint checking
This commit is contained in:
Коммит
2b49e353ff
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
"extends": "google"
|
||||
}
|
10
package.json
10
package.json
|
@ -7,7 +7,8 @@
|
|||
"test": "tests"
|
||||
},
|
||||
"scripts": {
|
||||
"test": "echo \"Error: no test specified\" && exit 1"
|
||||
"lint": "eslint .",
|
||||
"test": "npm run lint && mocha test/*.js --timeout 60000"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
@ -27,12 +28,9 @@
|
|||
"walk": "^2.3.9"
|
||||
},
|
||||
"devDependencies": {
|
||||
"babel-eslint": "^4.1.3",
|
||||
"chai": "^3.4.0",
|
||||
"eslint": "^1.8.0",
|
||||
"eslint": "^2.4.0",
|
||||
"eslint-config-google": "^0.4.0",
|
||||
"mocha": "^2.3.3"
|
||||
},
|
||||
"scripts": {
|
||||
"test": "mocha test/*.js --timeout 60000"
|
||||
}
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче