概要
💬 TypeScript、ESLint、vue-tsc、Stylelintなどのチェックを提供するViteプラグイン。
Web・アプリ開発計測したスター増加
- 24時間
- 0
- 7日間
- +2
- 15日間
- +3
- 1か月
- +12
期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。
README.md
オリジナルvite-plugin-checker
A Vite plugin that runs TypeScript, vue-tsc, svelte-check, ESLint, Biome, oxlint, and Stylelint in worker threads. It reports problems in the terminal and in a browser overlay while you develop, and fails vite build when a check fails.
Quick start
Install the plugin and the checker you want to use:
npm install -D vite-plugin-checker typescript
Add it to your Vite config:
// vite.config.ts
import { defineConfig } from 'vite'
import checker from 'vite-plugin-checker'
export default defineConfig({
plugins: [checker({ typescript: true })],
})
In a Svelte or SvelteKit project, the Svelte CLI can install the plugin and set up the svelte-check checker for you:
npx sv add vite-plugin-checker
Documentation
See the documentation for every checker, the overlay options, and recipes for Nuxt, Vitest, and backend integrations. Upgrading from 0.x? Read Migrating to v1.
The playground directory has an example project for each checker.
License
MIT License © 2022 fi3ework
関連プロジェクトを探す
読み込み中…