Skip to content

chore: Support vue setup macros in estlint config and remove unnecessary imports #2059

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
feat: Support vue setup macros in estlint and remove unnecessary imports
  • Loading branch information
Azurewarth0920 committed Apr 29, 2023
commit ee30aa2c8c3150fac66f86e6a6f235bb6a09f36e
1 change: 1 addition & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ module.exports = {
root: true,
env: {
browser: true,
"vue/setup-compiler-macros": true
},
extends: [
'plugin:vue/recommended',
Expand Down
1 change: 0 additions & 1 deletion packages/docs/src/components/InstallButton.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<script lang="ts" setup>
// eslint-disable-next-line no-undef
defineProps<{
logo: string
label: string
Expand Down
2 changes: 0 additions & 2 deletions packages/shell-dev-vue3/src/SetupTSScriptProps.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
<script lang="ts" setup>
import { defineProps } from 'vue'

const props = defineProps<{
myProp: string
}>()
Expand Down