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:
Ardalan Amini committed 2025-06-07 17:27:28 +03:30
1 parent 43d0d5f60d
commit 04e49adbba
32 files changed
+1140 -752

No files matched your search

+3 -3
View File
@@ -23,7 +23,7 @@
*/
import { getInput } from "@actions/core";
import { parseSemVer } from "../../src/utils";
import { parseSemanticVersion } from "../../src/utils";
it("should parse the semver version string", () => {
const major = 1;
@@ -41,7 +41,7 @@ it("should parse the semver version string", () => {
return "";
});
const result = parseSemVer(raw);
const result = parseSemanticVersion(raw);
expect(result).toBeDefined();
expect(result).toEqual({
@@ -82,7 +82,7 @@ it("should parse the release name by default", () => {
}
});
const result = parseSemVer();
const result = parseSemanticVersion();
expect(result).toBeDefined();
expect(result).toEqual({