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:
parent
ec6969aeb7
commit
0b21c72b30
1 changed files with 4 additions and 4 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue