Update eslint config 17/1917/1
authorCristina Pauna <cristina.pauna@enea.com>
Tue, 5 Nov 2019 08:57:20 +0000 (10:57 +0200)
committerCristina Pauna <cristina.pauna@enea.com>
Tue, 5 Nov 2019 08:59:17 +0000 (10:59 +0200)
When runing the validation of the patces, the eslint verification
throws erros like: "Error: ESLint configuration of global 'console' in
ui/src/main/webapp/.eslintrc is invalid:"

Update the config file so that these errors are not thrown anymore.

Signed-off-by: Cristina Pauna <cristina.pauna@enea.com>
Change-Id: I951bc0370b6599e14fcdc2f68b45d0684b4e2b1b

ui/src/main/webapp/.eslintrc

index 8cc24f1..37832b3 100644 (file)
@@ -1,10 +1,10 @@
 {
   "globals": {
     "angular": writable,
 {
   "globals": {
     "angular": writable,
-    "console": 1,
-    "confirm":1,
-    "localStorage":1,
-    "window":1,
-    "appDS2":1
+    "console": writable,
+    "confirm":writable,
+    "localStorage":writable,
+    "window":writable,
+    "appDS2":writable
   }
 }
   }
 }