Bläddra i källkod

tests(js): improve `.jshintrc`

Julien Voisin 1 år sedan
förälder
incheckning
eb6991ae49
1 ändrade filer med 14 tillägg och 2 borttagningar
  1. 14 2
      internal/ui/static/js/.jshintrc

+ 14 - 2
internal/ui/static/js/.jshintrc

@@ -1,3 +1,15 @@
 {
-  "esversion": 8
-}
+  "esversion": 11,
+  "bitwise": true,
+  "freeze": true,
+  "nonew": true,
+  "latedef": "nofunc",
+  "noarg": true,
+  "nocomma": true,
+  "nonbsp": true,
+  "nonew": true,
+  "browser": true,
+  "shadow": true,
+  "varstmt": true,
+  "noreturnawait": true
+}