Package detail

vite-plugin-eslint4b

ota-meshi11.6kMIT0.5.1

Vite plugin for running ESLint on browser

eslint, vite, browser

readme

vite-plugin-eslint4b

Vite plugin for running ESLint on browser

Note
It is not a plugin for running ESLint during the build process.

With this plugin the following imports will work on the browser:

import { Linter } from 'eslint';

Usage

Installation

npm install --save-dev vite-plugin-eslint4b eslint

Configuration

// vite.config.ts
import type { UserConfig } from "vite";
import eslint4b from "vite-plugin-eslint4b";

const config: UserConfig = {
  plugins: [
    eslint4b(), // <-
  ],
};
export default config;

changelog

vite-plugin-eslint4b

0.5.1

Patch Changes

0.5.0

Minor Changes

0.4.6

Patch Changes

0.4.5

Patch Changes

0.4.4

Patch Changes

0.4.3

Patch Changes

0.4.2

Patch Changes

0.4.1

Patch Changes

0.4.0

Minor Changes

  • #47 a9bef96 Thanks @ota-meshi! - fix: add support import('eslint/use-at-your-own-risk') for eslint v9

0.3.0

Minor Changes

0.2.5

Patch Changes

0.2.4

Patch Changes

0.2.3

Patch Changes

0.2.2

Patch Changes

0.2.1

Patch Changes

0.2.0

Minor Changes

0.1.1

Patch Changes

0.1.0

Release

  • Vite plugin for running ESLint on browser