aboutsummaryrefslogtreecommitdiffstats
path: root/ui/.eslintrc.js
diff options
context:
space:
mode:
authorKoren Lev <korenlev@gmail.com>2017-08-06 11:41:38 +0300
committerKoren Lev <korenlev@gmail.com>2017-08-06 11:41:38 +0300
commit98ccf39560e0f643ddf9a766e33b420b96dffac6 (patch)
treeb52e3e8c205ffce5cde86f182a230908eb6873e9 /ui/.eslintrc.js
parentb429b22ad4000e1f3ed37e30d3a36697c6e8c2da (diff)
latest ui code fixes merged in opnfv repo
Change-Id: Ib6d7f81e4a85286b7b30d332c757f7eb1bb519f3 Signed-off-by: Koren Lev <korenlev@gmail.com>
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,
+ }
+};