]> git.proxmox.com Git - mirror_novnc.git/blobdiff - .eslintrc
Build in the behavior to ignore decodeUTF8 errors
[mirror_novnc.git] / .eslintrc
index ecf55847230c154c3e3bb3e8a01060a51db4fcbb..900a7186efc4f5d9b1ab728ecc1c825de20d2924 100644 (file)
--- a/.eslintrc
+++ b/.eslintrc
         "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"],
     }
 }