Skip to content

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

@TheEVolk

Description

@TheEVolk

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions