Title: [TRI-1149] bug: Cannot get eslint-plugin working on a fresh Next.js project · Issue #391 · triggerdotdev/trigger.dev · GitHub
Open Graph Title: [TRI-1149] bug: Cannot get eslint-plugin working on a fresh Next.js project · Issue #391 · triggerdotdev/trigger.dev
X Title: [TRI-1149] bug: Cannot get eslint-plugin working on a fresh Next.js project · Issue #391 · triggerdotdev/trigger.dev
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...
Open Graph 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 { Jo...
X 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:...
Opengraph URL: https://github.com/triggerdotdev/trigger.dev/issues/391
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[TRI-1149] bug: Cannot get eslint-plugin working on a fresh Next.js project","articleBody":"Here's the reproduction project:\r\n\r\nhttps://github.com/ericallam/my-app\r\n\r\nAs you can see I've setup the eslint-plugin, but for some reason `npm run lint` isn't finding any errors in this code:\r\n\r\n```ts\r\nimport { Job, eventTrigger } from \"@trigger.dev/sdk\";\r\nimport { client } from \"@/trigger\";\r\n\r\n// your first job\r\nnew Job(client, {\r\n id: \"example-job\",\r\n name: \"Example Job\",\r\n version: \"0.0.1\",\r\n trigger: eventTrigger({\r\n name: \"example.event\",\r\n }),\r\n run: async (payload, io, ctx) => {\r\n await io.runTask(\"example.task\", { name: \"Task 1\" }, async () => {});\r\n await io.runTask(\"example.task\", { name: \"Task 2\" }, async () => {});\r\n },\r\n});\r\n```\r\n\r\ncc: @ologbonowiwi\n\n\u003csub>[TRI-1149](https://linear.app/triggerdotdev/issue/TRI-1149/bug-cannot-get-eslint-plugin-working-on-a-fresh-nextjs-project)\u003c/sub>","author":{"url":"https://github.com/ericallam","@type":"Person","name":"ericallam"},"datePublished":"2023-08-24T14:46:42Z","url":"https://github.com/triggerdotdev/trigger.dev/issues/391"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:f619528f-a659-f6ea-2c17-0da05a5d87c5 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A02E:C123A:93FA1:CE696:6AFAF1BA |
| html-safe-nonce | 187eaa43a383d8d206aabead2609f5a3c5f465f489c620ac3eaf8e36c88cb3d6 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMDJFOkMxMjNBOjkzRkExOkNFNjk2OjZBRkFGMUJBIiwidmlzaXRvcl9pZCI6IjQwMTUzODIyMTgzNjM1NjQ0NzQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 9b82a7c1a4315612a0cf11330c717269f920615f72657885a54fa320d8f1b329 |
| hovercard-subject-tag | issue:1865327166 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/triggerdotdev/trigger.dev/391/issue_layout |
| twitter:image | https://opengraph.githubassets.com/9e85d11cf75b7b99c2679f58162b4e8a68a6773d37cffb281ae968c38a1b4f41/triggerdotdev/trigger.dev/issues/391 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/9e85d11cf75b7b99c2679f58162b4e8a68a6773d37cffb281ae968c38a1b4f41/triggerdotdev/trigger.dev/issues/391 |
| og:image:alt | 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 { Jo... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | ericallam |
| hostname | github.com |
| expected-hostname | github.com |
| None | 0178036d8230524a18422872393ab7e708443ae4c2047f758560a2db870c1913 |
| turbo-cache-control | no-preview |
| go-import | github.com/triggerdotdev/trigger.dev git https://github.com/triggerdotdev/trigger.dev.git |
| octolytics-dimension-user_id | 95297378 |
| octolytics-dimension-user_login | triggerdotdev |
| octolytics-dimension-repository_id | 572570113 |
| octolytics-dimension-repository_nwo | triggerdotdev/trigger.dev |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 572570113 |
| octolytics-dimension-repository_network_root_nwo | triggerdotdev/trigger.dev |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | a85e96a83bed7871993e6b1ffda24105928eee17 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width