build: eslint에서 vue/setup-compiler-macros 활성화
- 필요없어진 import 제거
This commit is contained in:
+3
-1
@@ -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': {
|
||||
|
||||
Reference in New Issue
Block a user