fix: eslint issue

This commit is contained in:
mutoe 2021-02-28 22:51:49 +08:00
parent 72ec736e3e
commit 5d93330adc
2 changed files with 3 additions and 2 deletions

View File

@ -26,7 +26,8 @@
"files": [ "src/**/*.spec.ts" ],
"rules": {
"@typescript-eslint/no-non-null-assertion": "off",
"@typescript-eslint/no-unnecessary-type-assertion": "off"
"@typescript-eslint/no-unnecessary-type-assertion": "off",
"@typescript-eslint/no-explicit-any": "off"
}
}
]

View File

@ -5,7 +5,7 @@
"scripts": {
"dev": "vite",
"build": "vite build",
"lint:script": "eslint \"{src,cypress}/**/*.{js,ts,vue}\"",
"lint:script": "eslint \"{src/**/*.{ts,vue},cypress/**/*.js}\"",
"lint:vti": "vti diagnostics",
"lint": "concurrently 'yarn tsc' 'yarn lint:script' 'yarn lint:vti'",
"test:unit": "jest --coverage",