Fix lint script

This commit is contained in:
James Lyne 2021-05-27 14:25:33 +01:00
parent b12f4d6adf
commit db82b0739c
2 changed files with 4 additions and 2 deletions

View File

@ -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": {

View File

@ -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';