million
million copied to clipboard
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
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.
Thanks for opening this issue! A maintainer will review it soon.
Same problem.
My nextjs config file: (tryed with and without rsc, both auto mode)
yarn run dev cli messages
Same problem here:
Info:
- Windows 11
- yarn: 4.1.1
- vite: 5.1.6
- @million/lint: 0.0.73
Same problem here:
- Mac 14.3.1
- NextJS 13.5
- Yarn 3.3.0
- @million/lint: 0.0.73
Same! 👋
- Mac Sonoma 14.2
- Vite v5.0.12
- Yarn 4.0.2
- @million/lint: 0.0.73
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
Windows 11 npm: 10.5.0 vite: 5.1.6 @million/lint: 0.0.73
same
Windows 11 npm 10.2.5 next 14.1.3 @million/lint 0.0.73
Same here!
Windows 11 npm 10.2.4 vite 5.0.10 @million/lint: 0.0.73
and also it makes errors with react key prop all over the app
Same
Windows 11 pnpm 8.15.5 vite 5.1.4 @million/lint: 0.0.73
Hmm, thank you all for coming here to report this. I have reported this team and it's currently being worked on. Appreciate it:
- @Bader975
- @lucarampi
- @AndreiTS
- @Alcas1
- @oskarscholander
- @BaileyNepe
- @cold-world
- @N0SAFE
- @EliKnoph
- @emedeirox
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?
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.
Has there been any progress on this? Particularly with it not working in a workspace?
The same issue for me (react/vite, yarn, mac os) fixed with:
- yarn add -D million@latest
- yarn add -D @million/lint
- vite.config.ts: ... import million from 'million/compiler'; import MillionLint from '@million/lint';
export default defineConfig({ plugins: [ ... react(), million.vite({ auto: true }), MillionLint.vite(), ], ... });
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.
Not stale
Same as all the others.
Windows 10 pnpm 8.8.8 next 14.2.3 @million/lint 0.0.73
The same issue for me (react/vite, yarn, mac os) fixed with:
- yarn add -D million@latest
- yarn add -D @million/lint
- vite.config.ts: ... import million from 'million/compiler'; import MillionLint from '@million/lint';
export default defineConfig({ plugins: [ ... react(), million.vite({ auto: true }), MillionLint.vite(), ], ... });
this works with million lint but it gives a lot of errors in project like missing key props in react, react-hook-form and tanstack-query not working properly.
@cold-world how install Million.js lint on Next,js 14 ?
@cold-world how install Million.js lint on Next,js 14 ?
Hey there, just follow this: https://million.dev/docs/introduction
Hitting the same issue, any updates?
Is there any new updates?
Please continue the thread here: #1029