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

- 필요없어진 import 제거
This commit is contained in:
Hide_D committed 2022-03-28 22:31:10 +09:00
1 parent e09709651c
commit e569ffe8f4
7 files changed
+9 -7

No files matched your search

+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': {