Configured Eslint
diff --git a/xos/core/xoslib/.eslintrc b/xos/core/xoslib/.eslintrc
index 7c44df4..35b0e35 100644
--- a/xos/core/xoslib/.eslintrc
+++ b/xos/core/xoslib/.eslintrc
@@ -3,7 +3,7 @@
"browser": true
},
"rules" : {
- "quotes": [1, "single"],
+ "quotes": [1, "double"],
"camelcase": [0],
"no-underscore-dangle": [0],
"eqeqeq": [1],
diff --git a/xos/core/xoslib/package.json b/xos/core/xoslib/package.json
index bcfc27e..dd6714b 100644
--- a/xos/core/xoslib/package.json
+++ b/xos/core/xoslib/package.json
@@ -4,7 +4,8 @@
"description": "Add to the following in settings.py",
"main": "index.js",
"scripts": {
- "test": "karma start"
+ "test": "karma start",
+ "lint": "eslint ."
},
"author": "",
"license": "BSD-2-Clause",
@@ -15,6 +16,7 @@
"phantomjs": "~1.9.18",
"karma-phantomjs-launcher": "~0.2.1",
"karma-mocha-reporter": "~1.1.1",
- "karma-babel-preprocessor": "~5.2.2"
+ "karma-babel-preprocessor": "~5.2.2",
+ "eslint": "~1.6.0"
}
}