mirror of
https://gitee.com/dromara/go-view.git
synced 2025-04-06 03:58:04 +08:00
chore: 使 @typescript-eslint/consistent-type-imports 工作
This commit is contained in:
parent
d60063e15e
commit
ed54299736
@ -30,6 +30,11 @@ export default [
|
|||||||
...vueTsEslintConfig(),
|
...vueTsEslintConfig(),
|
||||||
skipFormatting,
|
skipFormatting,
|
||||||
{
|
{
|
||||||
|
languageOptions: {
|
||||||
|
parserOptions: {
|
||||||
|
parser: '@typescript-eslint/parser'
|
||||||
|
}
|
||||||
|
},
|
||||||
rules: {
|
rules: {
|
||||||
'no-console': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
|
'no-console': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
|
||||||
'no-debugger': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
|
'no-debugger': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user