You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -51,7 +51,7 @@ export default defineConfig(
51
51
52
52
The above configuration enables [the essential rules for Vue 3](https://eslint.vuejs.org/rules/#priority-a-essential-error-prevention) and [the recommended rules for TypeScript](https://typescript-eslint.io/rules/?=recommended).
53
53
54
-
All the `<script>` blocks in `.vue` files _MUST_ be written in TypeScript (should be either `<script setup lang="ts">` or `<script lang="ts">`).
54
+
All the `<script>` blocks in `.vue` files *MUST* be written in TypeScript (should be either `<script setup lang="ts">` or `<script lang="ts">`).
55
55
56
56
### Advanced Setup
57
57
@@ -64,8 +64,8 @@ import {
64
64
recommended,
65
65
} from'@vue/eslint-config-typescript'
66
66
67
-
exportdefaultdefineConfig(
68
-
pluginVue.configs['flat/essential'],
67
+
exportdefault[
68
+
...pluginVue.configs["flat/essential"],
69
69
70
70
configureVueProject({
71
71
// Optional: specify the script langs in `.vue` files
0 commit comments