Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VSCODE lint not working (looking for your dev server stuck) #1147

Open
1 task
TheEVolk opened this issue Oct 16, 2024 · 3 comments
Open
1 task

VSCODE lint not working (looking for your dev server stuck) #1147

TheEVolk opened this issue Oct 16, 2024 · 3 comments

Comments

@TheEVolk
Copy link

What version of million are you using?

1.0.11

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

None

What package manager are you using?

npm

What operating system are you using?

Mac

What browser are you using?

Chrome

Describe the Bug

vite config:

import MillionLint from '@million/lint';
import { defineConfig } from 'vite';
import react from '@vitejs/plugin-react';
import tsconfigPaths from 'vite-tsconfig-paths';
import { analyzer } from 'vite-bundle-analyzer';
import svgr from 'vite-plugin-svgr';

export default defineConfig({
  server: {
    port: 3006,
  },
  plugins: [
    MillionLint.vite(),
    react(),
    svgr({
      svgrOptions: {
        dimensions: false,
      },
    }),
    tsconfigPaths(),
    process.env.ANALYZE === '1' && analyzer(),
  ],
});
image

What's the expected result?

working linter

Link to Minimal Reproducible Example

Participation

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

Thanks for opening this issue! A maintainer will review it soon.

@julesat22
Copy link

Hi, I'm encountering the same issue with Vite where the lint process gets stuck at the second step, "looking for your dev server."

Million Lint: v1.0.11
Vite: ^5.4.6

Screenshot 2024-10-21 at 3 21 43 PM

@RobPruzan
Copy link

We have a fix for this and will likely be in the next release

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants