vite-plugin-eslint4b
TypeScript icon, indicating that this package has built-in type declarations

0.4.0 • Public • Published

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;

Readme

Keywords

Package Sidebar

Install

npm i vite-plugin-eslint4b

Weekly Downloads

850

Version

0.4.0

License

MIT

Unpacked Size

25.4 kB

Total Files

10

Last publish

Collaborators

  • ota-meshi