Skip to content

Commit 3c7b27c

Browse files
committed
another fix for ui things
1 parent 1f78489 commit 3c7b27c

File tree

1 file changed

+28
-2
lines changed

1 file changed

+28
-2
lines changed

.eslintrc.json

+28-2
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,9 @@
179179
"frontend/express/public/core/*/javascripts/countly.*.js",
180180
"plugins/*/frontend/public/javascripts/countly.*.js"
181181
],
182+
"parserOptions": {
183+
"ecmaVersion": 2020
184+
},
182185
"env": {
183186
"browser": true,
184187
"es2020": true
@@ -335,7 +338,7 @@
335338
"node": true
336339
},
337340
"parserOptions": {
338-
"ecmaVersion": 2020
341+
"ecmaVersion": 2023
339342
},
340343
"rules": {
341344
"no-console": "off"
@@ -353,7 +356,30 @@
353356
"mocha": true
354357
},
355358
"parserOptions": {
356-
"ecmaVersion": 2020
359+
"ecmaVersion": 2023
360+
},
361+
"rules": {
362+
"no-console": "off",
363+
"no-unused-vars": "off",
364+
"no-redeclare": "off"
365+
}
366+
},
367+
{
368+
"files": [
369+
"ui-tests/**/*.js"
370+
],
371+
"env": {
372+
"es2023": true,
373+
"node": true,
374+
"mocha": true
375+
},
376+
"globals": {
377+
"Cypress": "readonly",
378+
"cy": "readonly"
379+
},
380+
"parserOptions": {
381+
"ecmaVersion": 2023,
382+
"sourceType": "module"
357383
},
358384
"rules": {
359385
"no-console": "off",

0 commit comments

Comments
 (0)