1
0
Fork 0
mirror of https://github.com/FrankerFaceZ/FrankerFaceZ.git synced 2025-06-27 21:05:53 +00:00

eslint: unnecessary escape; prefer const

This commit is contained in:
lemonslut 2025-06-08 01:11:50 -06:00
parent ec6969aeb7
commit 0b21c72b30
No known key found for this signature in database

View file

@ -149,7 +149,7 @@
import {get} from 'utilities/object';
const TITLE_MATCH = /^(.+?)?\s*v?(\d+\.\d+\.\d+(?:\-[a-z0-9-]+)?)$/i,
const TITLE_MATCH = /^(.+?)?\s*v?(\d+\.\d+\.\d+(?:-[a-z0-9-]+)?)$/i,
SETTING_REGEX = /\]\(~([^)]+)\)/g,
CHANGE_REGEX = /^\*\s*([^:]+?):\s*(.+)$/i,
ISSUE_REGEX = /(^|\s)#(\d+)\b/g;
@ -186,13 +186,13 @@ export default {
old_commit = this.t('home.changelog.nonversioned', 'Non-Versioned Commit');
for(const commit of this.commits) {
const input = commit.commit.message;
const input = commit.commit.message,
sections = {};
let title = old_commit,
title_nav = null,
icon = null,
version = null,
author = null,
sections = {},
description = [];
if ( /\bskiplog\b/i.test(input) && ! this.nonversion )
@ -384,4 +384,4 @@ export default {
}
}
}
</script>
</script>