lint modules

This commit is contained in:
Kushan Joshi
2016-06-15 21:29:47 +05:30
parent 72f2e77dea
commit 393cad504f
2 changed files with 5 additions and 3 deletions

View File

@@ -5,5 +5,8 @@
},
extends: [
"plugin:import/errors"
]
],
rules: {
"no-invalid-this": 0
}
}

View File

@@ -10,8 +10,7 @@
"scripts": {
"test": "npm run lint && phantomjs node_modules/mocha-phantomjs-core/mocha-phantomjs-core.js test/index.html dot && make && phantomjs node_modules/mocha-phantomjs-core/mocha-phantomjs-core.js test/index_packaged.html dot",
"start": "http-server .",
"lint": "eslint js/id test/spec",
"lint:modules": "eslint modules"
"lint": "eslint js/id test/spec modules"
},
"repository": {
"type": "git",