1.2.3 • Published 8 months ago
@mawns/vite-plugin-eslint v1.2.3
@mawns/vite-plugin-eslint
Plugin to show ESLint output in custom HMR overlay, (working on typescript)
Install
npm install @mawns/vite-plugin-eslint -D
# or
yarn add @mawns/vite-plugin-eslint -DUsage
import { defineConfig } from 'vite';
import eslintOverlay from '@mawns/vite-plugin-eslint';
export default defineConfig({
...
plugins: [
...
eslintOverlay()
]
});This plugin uses configuration from an existing ESLint config file and ESLint should be set up in your project beforehand.
Options
You can pass an options object to the plugin in order to customize some of its behaviour
useCache
- Type:
boolean - Default:
true
Cache previous eslint results to speed up process.
useConsole
- Type:
boolean - Default:
false
Print output to the console.
useCustomOverlay
- Type:
boolean - Default:
true
Print output to the custom HMR overlay.
showWarnings
- Type:
boolean - Default:
true
Include eslint Warnings in the output.
License - MIT
1.2.3
8 months ago
1.2.2
9 months ago
1.2.1
9 months ago
1.2.0
9 months ago
1.1.3
9 months ago
1.1.2
9 months ago
1.1.1
9 months ago
1.1.0
9 months ago
1.0.17
9 months ago
1.0.16
9 months ago
1.0.15
1 year ago
1.0.14
1 year ago
1.0.13
1 year ago
1.0.12
1 year ago
1.0.11
1 year ago
1.0.10
1 year ago
1.0.9
1 year ago
1.0.8
1 year ago
1.0.7
1 year ago
1.0.6
1 year ago
1.0.5
1 year ago
1.0.4
1 year ago
1.0.3
1 year ago
1.0.2
1 year ago
1.0.1
1 year ago
1.0.0
1 year ago