fix(deps): upgrade eslint and plugins to 9.39.4 (#201701)
* fix(deps): upgrade eslint and plugins to 10.2.0 * chore: manual lint-fix * chore: automatic lint-fix * feat(repo): github actions - lint - use node v24 because it is linting (not runtime), so why not to use the latest stable Node version * fix: remove @stylistic/eslint-plugin (in favor of prettier) * fix: eslint uses `ecmaVersion` 2025 * fix: eslint's "mocha" config is isolated (for test files only) for example `describe` is not considered "global" outside the test files. the same for all other "eslint/mocha" rules - they are applied only to files in `/tests` folder. * chore: update package-lock.json after eslint upgrade
This commit is contained in:
parent
fb1ccd3464
commit
211205363c
1 changed files with 370 additions and 414 deletions
|
|
@ -333,7 +333,7 @@ exports.LoadUtils = () => {
|
|||
.vcardGetNameFromParsed(parsed),
|
||||
};
|
||||
}
|
||||
} catch (_) {
|
||||
} catch (ignoredError) {
|
||||
// not a vcard
|
||||
}
|
||||
}
|
||||
|
|
@ -361,7 +361,7 @@ exports.LoadUtils = () => {
|
|||
content = options.buttons.body;
|
||||
caption = content;
|
||||
} else {
|
||||
caption = options.caption ? options.caption : ' '; //Caption can't be empty
|
||||
caption = options.caption ? options.caption : ' '; // Caption can't be empty
|
||||
}
|
||||
buttonOptions = {
|
||||
productHeaderImageRejected: false,
|
||||
|
|
@ -857,7 +857,7 @@ exports.LoadUtils = () => {
|
|||
.require('WAWebCollections')
|
||||
.WAWebNewsletterCollection.find(chatWid);
|
||||
}
|
||||
} catch (err) {
|
||||
} catch (ignoredError) {
|
||||
chat = null;
|
||||
}
|
||||
} else {
|
||||
|
|
@ -1175,7 +1175,7 @@ exports.LoadUtils = () => {
|
|||
);
|
||||
|
||||
return waveform;
|
||||
} catch (e) {
|
||||
} catch (ignoredError) {
|
||||
return undefined;
|
||||
}
|
||||
};
|
||||
|
|
@ -1412,7 +1412,7 @@ exports.LoadUtils = () => {
|
|||
return base64Image;
|
||||
}
|
||||
}
|
||||
} catch (error) {
|
||||
} catch (ignoredError) {
|
||||
/* empty */
|
||||
}
|
||||
}
|
||||
|
|
@ -1449,7 +1449,7 @@ exports.LoadUtils = () => {
|
|||
rpcResult.value.addParticipant[0]
|
||||
.addParticipantsParticipantAddedOrNonRegisteredWaUserParticipantErrorLidResponseMixinGroup
|
||||
.value.addParticipantsParticipantMixins;
|
||||
} catch (err) {
|
||||
} catch (ignoredError) {
|
||||
data.code = 400;
|
||||
return data;
|
||||
}
|
||||
|
|
@ -1612,7 +1612,7 @@ exports.LoadUtils = () => {
|
|||
));
|
||||
}
|
||||
return result;
|
||||
} catch (err) {
|
||||
} catch (ignoredError) {
|
||||
return [];
|
||||
}
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue