Skip to content

[TRI-1149] bug: Cannot get eslint-plugin working on a fresh Next.js project #391

Description

@ericallam

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 jobnewJob(client,{id: "example-job",name: "Example Job",version: "0.0.1",trigger: eventTrigger({name: "example.event",}),run: async(payload,io,ctx)=>{awaitio.runTask("example.task",{name: "Task 1"},async()=>{});awaitio.runTask("example.task",{name: "Task 2"},async()=>{});},});

cc: @ologbonowiwi

TRI-1149

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions