mirror of
https://github.com/darksaid98/auto-changelog.git
synced 2026-12-03 22:15:31 +00:00
refactor: enhance ESLint configuration and type safety
This commit replaces `.eslintrc.yml` with `eslint.config.mts`, and updates the ESLint setup with Noir and Flat Gitignore configs. Signed-off-by: Ardalan Amini <[email protected]>
This commit is contained in:
32 files changed
+1140
-752
No files matched your search
+1
-1
@@ -50,7 +50,7 @@ export async function generateFooter(previousTagName?: string): Promise<string>
|
||||
|
||||
const tokens = marked.lexer(data.body);
|
||||
|
||||
// eslint-disable-next-line max-len
|
||||
// eslint-disable-next-line @stylistic/max-len
|
||||
const index = tokens.findIndex(markdownToken => markdownToken.type === "heading" && markdownToken.text === "New Contributors");
|
||||
|
||||
const markdownToken = tokens[index + 1];
|
||||
|
||||
Reference in new issue
Block a user