Add lint script to package.json

This commit is contained in:
Henning Morud
2016-02-10 21:53:55 +01:00
parent 36b9891c09
commit 05a2020f20
2 changed files with 12 additions and 2 deletions
+7
View File
@@ -0,0 +1,7 @@
{
"extends": "airbnb/base",
"rules": {
"comma-dangle": 0,
"no-param-reassign": 0
}
}
+5 -2
View File
@@ -5,7 +5,8 @@
"main": "index.js",
"scripts": {
"prepublish": "npm run build",
"build": "babel src/ -d lib/"
"build": "babel src/ -d lib/",
"lint": "eslint src/"
},
"author": "Henning Morud <henning@morud.org>",
"contributors": [
@@ -38,6 +39,8 @@
"homepage": "https://github.com/HenningM/express-ws",
"devDependencies": {
"babel-cli": "^6.5.1",
"babel-preset-es2015": "^6.5.0"
"babel-preset-es2015": "^6.5.0",
"eslint": "^1.10.3",
"eslint-config-airbnb": "^5.0.0"
}
}