build: eslint에서 vue/setup-compiler-macros 활성화

- 필요없어진 import 제거
This commit is contained in:
2022-03-28 22:31:10 +09:00
parent e09709651c
commit e569ffe8f4
7 changed files with 9 additions and 7 deletions
+3 -1
View File
@@ -3,7 +3,8 @@ module.exports = {
parser: "vue-eslint-parser",
"env": {
"browser": true,
"es2021": true
"es2021": true,
'vue/setup-compiler-macros': true
},
ignorePatterns: ['*.test.ts', '.eslintrc.cjs', 'postcss.config.cjs', 'webpack.config.cjs', '*.js'],
overrides: [{
@@ -27,6 +28,7 @@ module.exports = {
},
rules: {
'@typescript-eslint/no-floating-promises': 'error',
'vue/script-setup-uses-vars': 'error',
},
settings: {
'import/resolver': {