]> git.proxmox.com Git - mirror_novnc.git/blobdiff - .eslintrc
Handle slow loading of images
[mirror_novnc.git] / .eslintrc
index a3990b66b0b9b1e57bc8ecc279427033d097928d..900a7186efc4f5d9b1ab728ecc1c825de20d2924 100644 (file)
--- a/.eslintrc
+++ b/.eslintrc
                                  "ArrayExpression": "first",
                                  "ObjectExpression": "first",
                                  "ignoreComments": true }],
+        "comma-spacing": ["error"],
+        "comma-style": ["error"],
+        "curly": ["error", "multi-line"],
+        "func-call-spacing": ["error"],
+        "func-names": ["error"],
+        "func-style": ["error", "declaration", { "allowArrowFunctions": true }],
+        "key-spacing": ["error"],
+        "keyword-spacing": ["error"],
+        "no-trailing-spaces": ["error"],
+        "semi": ["error"],
+        "space-before-blocks": ["error"],
+        "space-before-function-paren": ["error", { "anonymous": "always",
+                                                   "named": "never",
+                                                   "asyncArrow": "always" }],
+        "switch-colon-spacing": ["error"],
     }
 }