chore(eslint): resolve eslint wearning
This commit is contained in:
parent
d584ab4479
commit
7ede02f009
|
|
@ -41,4 +41,13 @@ module.exports = {
|
||||||
'@typescript-eslint/consistent-type-imports': 'off',
|
'@typescript-eslint/consistent-type-imports': 'off',
|
||||||
'@typescript-eslint/no-unused-vars': 'off',
|
'@typescript-eslint/no-unused-vars': 'off',
|
||||||
},
|
},
|
||||||
|
overrides: [
|
||||||
|
{
|
||||||
|
files: ["*.html"],
|
||||||
|
rules: {
|
||||||
|
// https://github.com/vuejs/eslint-plugin-vue/issues/1355
|
||||||
|
"vue/comment-directive": "off",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
],
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/env sh
|
#!/usr/bin/env sh
|
||||||
. "$(dirname -- "$0")/_/husky.sh"
|
. "$(dirname -- "$0")/_/husky.sh"
|
||||||
|
|
||||||
npm run lint
|
yarn run lint
|
||||||
|
|
|
||||||
|
|
@ -64,7 +64,6 @@ export default ({ command, mode }: ConfigEnv): UserConfig => {
|
||||||
server: {
|
server: {
|
||||||
host: true,
|
host: true,
|
||||||
port: 3000,
|
port: 3000,
|
||||||
open: true,
|
|
||||||
proxy: {
|
proxy: {
|
||||||
'/api': {
|
'/api': {
|
||||||
// backend url
|
// backend url
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue