Eslint configured in xoslib folder
diff --git a/xos/core/xoslib/.eslintrc b/xos/core/xoslib/.eslintrc
new file mode 100644
index 0000000..7c44df4
--- /dev/null
+++ b/xos/core/xoslib/.eslintrc
@@ -0,0 +1,20 @@
+{
+ "env" : {
+ "browser": true
+ },
+ "rules" : {
+ "quotes": [1, "single"],
+ "camelcase": [0],
+ "no-underscore-dangle": [0],
+ "eqeqeq": [1],
+ "no-alert": [1],
+ "no-unused-vars": [1],
+ "key-spacing": [2, {
+ "beforeColon": false,
+ "afterColon": true
+ }],
+ "indent": [2, 2]
+ },
+ "globals": {
+ }
+}
diff --git a/xos/core/xoslib/karma.conf.js b/xos/core/xoslib/karma.conf.js
index 12f47f7..eba7b6f 100644
--- a/xos/core/xoslib/karma.conf.js
+++ b/xos/core/xoslib/karma.conf.js
@@ -1,7 +1,9 @@
// Karma configuration
// Generated on Tue Oct 06 2015 09:27:10 GMT+0000 (UTC)
+/*eslint-disable*/
module.exports = function(config) {
+/*eslint-enable*/
config.set({
// base path that will be used to resolve all patterns (eg. files, exclude)
@@ -71,5 +73,5 @@
// Continuous Integration mode
// if true, Karma captures browsers, runs the tests and exits
singleRun: false
- })
-}
+ });
+};