Update dependency "eslint" to v9.x
v9.39.4
This commit is contained in:
@@ -180,7 +180,9 @@ const createChangelogCommitLine = (commit: Commit): string => {
|
||||
const getContributors = (commits: Commit[]): string[] => [
|
||||
...new Set(
|
||||
commits
|
||||
.map((commit) => commit.authors.map((author) => author.user?.login!).filter((author) => !!author))
|
||||
.map((commit) =>
|
||||
commit.authors.map((author) => author.user?.login).filter((author): author is string => !!author),
|
||||
)
|
||||
.flat(),
|
||||
),
|
||||
];
|
||||
|
||||
@@ -46,7 +46,6 @@ const extractContributionInfoFromChanges = (
|
||||
const actions: Record<number, string> = {};
|
||||
|
||||
changes.forEach((change) => {
|
||||
// eslint-disable-next-line @typescript-eslint/naming-convention
|
||||
const { translation: translationUrl, action, action_name, user: userUrl } = change;
|
||||
if (userUrl === null) {
|
||||
return;
|
||||
|
||||
@@ -9,9 +9,9 @@
|
||||
import yargs from 'yargs';
|
||||
import { hideBin } from 'yargs/helpers';
|
||||
import dayjs from 'dayjs';
|
||||
import { validateWeblateDates } from '../weblate/Weblate.utils.ts';
|
||||
import { createCommitChangelog } from './CommitChangelog.utils.ts';
|
||||
import { createTranslationChangelog } from './TranslationChangelog.utils.ts';
|
||||
import { validateWeblateDates } from '../weblate/Weblate.utils.ts';
|
||||
|
||||
const { sha, date } = yargs(hideBin(process.argv))
|
||||
.options({
|
||||
|
||||
@@ -8,8 +8,8 @@
|
||||
|
||||
import yargs from 'yargs';
|
||||
import { hideBin } from 'yargs/helpers';
|
||||
import { createTranslationChangelog } from './TranslationChangelog.utils.ts';
|
||||
import { TRANSLATION_CHANGELOG_YARG_OPTIONS_DEFAULT } from '../weblate/Weblate.constants.ts';
|
||||
import { createTranslationChangelog } from './TranslationChangelog.utils.ts';
|
||||
|
||||
const { afterDate, beforeDate, requiredContributionCount, keepKnownContributors } = yargs(hideBin(process.argv))
|
||||
.options({
|
||||
|
||||
Reference in New Issue
Block a user