1.0.4 • Published 3 years ago

@gxmari007/vite-plugin-eslint v1.0.4

Weekly downloads
23
License
MIT
Repository
github
Last release
3 years ago

vite-plugin-eslint

npm GitHub license

A vite ESLint plugin.

Install

npm install vite-plugin-eslint --save-dev
# or
yarn add vite-plugin-eslint --dev

Usage

import { defineConfig } from 'vite';
import eslintPlugin from 'vite-plugin-eslint';

export default defineConfig({
  plugins: [eslintPlugin()],
});

Options

include

  • Type string | string[]

    A single file, or array of files, to include when linting.

exclude

  • Type string | string[]

    A single file, or array of files, to exclude when linting.

formatter

  • Type string | ESLint.Formatter

    Custom error formatter or the name of a built-in formatter.

License

MIT

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.0

3 years ago