aboutsummaryrefslogtreecommitdiffstats
path: root/ui/.eslintrc.js
diff options
context:
space:
mode:
Diffstat (limited to 'ui/.eslintrc.js')
-rw-r--r--ui/.eslintrc.js50
1 files changed, 50 insertions, 0 deletions
diff --git a/ui/.eslintrc.js b/ui/.eslintrc.js
new file mode 100644
index 0000000..913c6f3
--- /dev/null
+++ b/ui/.eslintrc.js
@@ -0,0 +1,50 @@
+module.exports = {
+ "env": {
+ "browser": true,
+ "commonjs": true,
+ "es6": true,
+ "node": true,
+ "meteor": true
+ },
+ "extends": "eslint:recommended",
+ "parserOptions": {
+ "sourceType": "module"
+ },
+ "rules": {
+ "indent": [
+ "error",
+ 2
+ ],
+ "linebreak-style": [
+ "error",
+ "unix"
+ ],
+ "quotes": [
+ "error",
+ "single",
+ {
+ "allowTemplateLiterals": true
+ }
+ ],
+ "semi": [
+ "error",
+ "always"
+ ],
+ "no-console": 0,
+ "no-unused-vars": [
+ "error",
+ { "argsIgnorePattern": "^_" }
+ ]
+ },
+ "globals": {
+ "Iron": true,
+ "jQuery": true,
+ "d3Graph": true,
+ "d3": true,
+ "$": true,
+ "toastr": true,
+ "google": true,
+ "moment": true,
+ "WOW": true,
+ }
+};