refactor: Upgrade to ESLint 8 (#3722)

* ⬆️ Upgrade to ESLint 8

* 📦 Update package-lock.json

* 👕 Add lint exceptions

* 👕 Add more lint exceptions

*  Remove `tslint` from some packages

* 👕 Except init file

* 📦 Update `package-lock.json`

* 📦 Update `package-lock.json`

* 👕 Add exceptions to new lines coming from `master `

Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
This commit is contained in:
Iván Ovejero
2022-07-24 17:25:01 +02:00
committed by GitHub
parent 8be36c261b
commit f9f05621a1
48 changed files with 1809 additions and 2230 deletions

View File

@@ -273,6 +273,7 @@ export class Expression {
throw new Error('Expression resolved to a function. Please add "()"');
} else if (returnValue !== null && typeof returnValue === 'object') {
if (returnObjectAsString) {
// eslint-disable-next-line @typescript-eslint/no-unsafe-argument
return this.convertObjectValueToString(returnValue);
}
}