Commit d7626c46 by Tomas Alabes

eslint

parent db2b2f2b
module.exports = {
"extends": "standard",
"plugins": [
"standard"
]
};
\ No newline at end of file
{
"curly": true,
"eqnull": true,
"eqeqeq": true,
"undef": true,
"indent": 4,
"unused": true,
"globals": {
"eve": true
}
}
\ No newline at end of file
......@@ -17,7 +17,11 @@
},
"devDependencies": {
"bower": "1.4.1",
"eslint": "^2.7.0",
"eslint-config-standard": "^5.1.0",
"eslint-loader": "^1.3.0",
"eslint-plugin-promise": "^1.1.0",
"eslint-plugin-standard": "^1.3.2",
"qunitjs": "1.21.0"
},
"scripts": {
......
......@@ -44,6 +44,18 @@ module.exports = {
plugins: plugins,
loaders: [
{
test: /\.js$/,
loader: "eslint-loader",
include: "./dev/"
}
],
eslint: {
configFile: './.eslintrc'
},
resolve: {
modulesDirectories: ["bower_components"]
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment