address eslint errors

This commit is contained in:
El RIDO 2025-10-06 23:47:08 +02:00
parent 51481656ba
commit f0560bcc27
No known key found for this signature in database
GPG key ID: 0F5C940A6BD81F92
8 changed files with 27 additions and 20 deletions

View file

@ -50,7 +50,7 @@ describe('PasteStatus', function () {
'nestring',
common.jscUrl(),
function (schema, domain, url) {
domain = domain.replace(/\P{Letter}|[\u00AA-\u00BA]/gu, '').toLowerCase();
domain = domain.replace(/\P{Letter}|[\u{00AA}-\u{00BA}]/gu, '').toLowerCase();
if (domain.length === 0) {
domain = 'a';
}