Browse Source

style: 🎨 修复在vue文件使用全局声明文件时eslint报错

pull/1/head
Damon 3 years ago
parent
commit
09649b655a
  1. 1
      .eslintrc.js
  2. 1
      tsconfig.json

1
.eslintrc.js

@ -24,6 +24,7 @@ module.exports = {
},
plugins: ['vue', '@typescript-eslint', 'prettier'],
rules: {
'no-undef': 'off',
'vue/multi-word-component-names': 'off',
'@typescript-eslint/ban-ts-ignore': 'off',
'@typescript-eslint/no-unused-vars': 'warn',

1
tsconfig.json

@ -6,6 +6,7 @@
"jsx": "preserve",
"moduleResolution": "node",
"skipLibCheck": true,
"ignoreDeprecations": "5.0",
"suppressImplicitAnyIndexErrors": true,
"esModuleInterop": true,
"allowJs": true,

Loading…
Cancel
Save