-
-
Notifications
You must be signed in to change notification settings - Fork 797
Closed
Labels
Milestone
Description
Here's the reproduction project:
https://github.com/ericallam/my-app
As you can see I've setup the eslint-plugin, but for some reason npm run lint
isn't finding any errors in this code:
import { Job, eventTrigger } from "@trigger.dev/sdk";
import { client } from "@/trigger";
// your first job
new Job(client, {
id: "example-job",
name: "Example Job",
version: "0.0.1",
trigger: eventTrigger({
name: "example.event",
}),
run: async (payload, io, ctx) => {
await io.runTask("example.task", { name: "Task 1" }, async () => {});
await io.runTask("example.task", { name: "Task 2" }, async () => {});
},
});
cc: @ologbonowiwi