[ACS-5991] ESLint fixes and code quality improvements (#8893)

* prefer-optional-chain: core

* prefer-optional-chain: content, fix typings

* prefer-optional-chain: process, fix typings

* prefer-optional-chain: process-cloud, fix typings, fix ts configs and eslint

* [ci: force] sonar errors fixes, insights lib

* [ci:force] fix security issues

* [ci:force] fix metadata e2e bug, js assignment bugs

* [ci:force] fix lint issue

* [ci:force] fix tests
This commit is contained in:
Denys Vuika
2023-09-18 09:42:16 +01:00
committed by GitHub
parent 99f591ed67
commit a1dd270c5d
203 changed files with 4155 additions and 4960 deletions

View File

@@ -18,19 +18,18 @@
var TaskAssigneeModel = require('./TaskAssigneeModel');
var TaskModel = function (details) {
this.id;
this.name;
this.description;
this.category;
this.created;
this.dueDate;
this.priority;
this.parentTaskName;
this.parentTaskId;
this.formKey;
this.duration;
this.endDate;
this.id = undefined;
this.name = undefined;
this.description = undefined;
this.category = undefined;
this.created = undefined;
this.dueDate = undefined;
this.priority = undefined;
this.parentTaskName = undefined;
this.parentTaskId = undefined;
this.formKey = undefined;
this.duration = undefined;
this.endDate = undefined;
this.assignee = {};
this.getName = function () {