chore(lint): enable unnecessary type parameter rule

This commit is contained in:
Peter Steinberger
2026-04-18 18:28:20 +01:00
parent 630f2bcabe
commit df525b90f2
94 changed files with 186 additions and 152 deletions

View File

@@ -10,8 +10,8 @@ type OxlintTsconfig = {
exclude?: string[];
};
function readJson<T>(path: string): T {
return JSON.parse(fs.readFileSync(path, "utf8")) as T;
function readJson(path: string): unknown {
return JSON.parse(fs.readFileSync(path, "utf8")) as unknown;
}
describe("oxlint config", () => {