million: Million.js Lint Not Working

What version of million are you using?

V3.0.6

Are you using an SSR adapter? If so, which one?

none

What package manager are you using?

npm

What operating system are you using?

windows

What browser are you using?

Chrome

Describe the Bug

Million.js Lint not working Screenshot 2024-03-17 072717

What’s the expected result?

it’s should give hits to speed up my React app

Link to Minimal Reproducible Example

none , no error

Participation

  • I am willing to submit a pull request for this issue.

About this issue

  • Original URL
  • State: open
  • Created 3 months ago
  • Reactions: 16
  • Comments: 22 (2 by maintainers)

Most upvoted comments

Hi, mine is the same, but I have a vscode notification that says: “million lint is successfully installed…waiting for connection” and never disappears. I tried logging into: https://lint.million.dev, but it immediately says: “session expired, log in again”.

To test the linter, I’ve used a client component with a useEffect that runs setState(v => v + 1) indefinitely, producing infinite re-renders. Is it a good test that million lint should be able to recognize?

We’re currently working on this actually. A fix will be sent in the next patch of the Million lint release

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs within the next 7 days.

Hmm, thank you all for coming here to report this. I have reported this team and it’s currently being worked on. Appreciate it:

Same problem.

My nextjs config file: (tryed with and without rsc, both auto mode) image

yarn run dev cli messages image

Not stale

Hi, mine is the same, but I have a vscode notification that says: “million lint is successfully installed…waiting for connection” and never disappears. I tried logging into: https://lint.million.dev, but it immediately says: “session expired, log in again”.

To test the linter, I’ve used a client component with a useEffect that runs setState(v => v + 1) indefinitely, producing infinite re-renders. Is it a good test that million lint should be able to recognize?

I get this issue as well when running in a bun workspace, however when I run on a different app using npm and not in a workspace, the linting works fine.

Same problem here: image

Info: