We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4149add commit 3838771Copy full SHA for 3838771
test/main.test.ts
@@ -39,7 +39,7 @@ describe("runMain", () => {
39
40
it("shows version with flag `--version` with meta specified as async function", async () => {
41
const command = defineCommand({
42
- // eslint-disable-next-line unicorn/no-useless-promise-resolve-reject, require-await
+ // eslint-disable-next-line unicorn/no-useless-promise-resolve-reject
43
meta: async () => Promise.resolve({ version: "1.0.0" }),
44
});
45
@@ -87,7 +87,6 @@ describe("runMain", () => {
87
},
88
89
90
- // eslint-disable-next-line require-await, unicorn/consistent-function-scoping
91
const customUsage: typeof showUsage = async () => {
92
consola.log("Custom usage");
93
};
0 commit comments