Fix lint script
This commit is contained in:
parent
b12f4d6adf
commit
db82b0739c
@ -6,8 +6,8 @@
|
|||||||
"serve": "vite",
|
"serve": "vite",
|
||||||
"preview": "vite preview --port 8082",
|
"preview": "vite preview --port 8082",
|
||||||
"build": "vue-tsc --noEmit && vite build --out-dir dist",
|
"build": "vue-tsc --noEmit && vite build --out-dir dist",
|
||||||
"lint": "eslint src",
|
"lint": "eslint --ext .ts,.vue src",
|
||||||
"lint:fix": "eslint src --fix",
|
"lint:fix": "eslint -ext .ts,.vue src --fix",
|
||||||
"postinstall": "patch-package"
|
"postinstall": "patch-package"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
// noinspection JSUnusedGlobalSymbols
|
||||||
|
|
||||||
import { defineConfig } from 'vite';
|
import { defineConfig } from 'vite';
|
||||||
import { resolve } from 'path';
|
import { resolve } from 'path';
|
||||||
import vue from '@vitejs/plugin-vue';
|
import vue from '@vitejs/plugin-vue';
|
||||||
|
Loading…
Reference in New Issue
Block a user