diff --git a/public/.eslintrc b/public/.eslintrc new file mode 100644 index 0000000..af01919 --- /dev/null +++ b/public/.eslintrc @@ -0,0 +1,51 @@ +{ + "extends": "standard", + "env": { + "es6": true, + "jest": true, + "browser": true + }, + "globals": { + "GENTLY": true, + "chrome": true, + "hterm" : true, + "lib" : true, + "io" : true + }, + "rules": { + "no-multi-spaces": 0, + "comma-dangle": [ + "error", + "always-multiline" + ], + "key-spacing": [ + "error", + { + "multiLine": { + "beforeColon": false, + "afterColon": true + }, + "align": { + "beforeColon": false, + "afterColon": true, + "on": "colon", + "mode": "strict" + } + } + ], + "semi": [ + "error", + "always" + ], + "no-var": [ + "error" + ], + "prefer-const": [ + "error", + { + "destructuring": "any", + "ignoreReadBeforeAssign": false + } + ] + } +} diff --git a/public/index.html b/public/index.html index df8d091..bbf796e 100644 --- a/public/index.html +++ b/public/index.html @@ -39,7 +39,7 @@
-
+