Skip to content

Commit

Permalink
enh: set eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
HaecheonLee committed May 6, 2024
1 parent b9215bc commit 590a340
Show file tree
Hide file tree
Showing 3 changed files with 77 additions and 3 deletions.
74 changes: 73 additions & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@
"postcss": "^8.4.32",
"prettier": "3.2.5",
"tailwindcss": "^3.3.6",
"vite": "^5.0.11"
"vite": "^5.0.11",
"vite-plugin-eslint": "^1.8.1"
},
"overrides": {
"follow-redirects": "^1.15.4"
Expand Down
3 changes: 2 additions & 1 deletion vite.config.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'
import eslint from "vite-plugin-eslint";

// https://vitejs.dev/config/
export default defineConfig({
plugins: [react()],
plugins: [react(), eslint()],
})

0 comments on commit 590a340

Please sign in to comment.