From: Cristina Pauna Date: Tue, 5 Nov 2019 08:57:20 +0000 (+0200) Subject: Update eslint config X-Git-Tag: 2.0.0~9 X-Git-Url: https://gerrit.akraino.org/r/gitweb?a=commitdiff_plain;h=f2d9391a9efdfd2d1761d93c03442554b301b435;p=validation.git Update eslint config 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 Change-Id: I951bc0370b6599e14fcdc2f68b45d0684b4e2b1b --- diff --git a/ui/src/main/webapp/.eslintrc b/ui/src/main/webapp/.eslintrc index 8cc24f1..37832b3 100644 --- a/ui/src/main/webapp/.eslintrc +++ b/ui/src/main/webapp/.eslintrc @@ -1,10 +1,10 @@ { "globals": { "angular": writable, - "console": 1, - "confirm":1, - "localStorage":1, - "window":1, - "appDS2":1 + "console": writable, + "confirm":writable, + "localStorage":writable, + "window":writable, + "appDS2":writable } }