Skip to content

Commit 815cc88

Browse files
committedDec 25, 2024
chore: Merge branch 'main' into feat-more-intuitive-config
2 parents 30c6be9 + 3a3b13c commit 815cc88

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed
 

‎README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ export default defineConfig(
5151

5252
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).
5353

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">`).
5555

5656
### Advanced Setup
5757

@@ -64,8 +64,8 @@ import {
6464
recommended,
6565
} from '@vue/eslint-config-typescript'
6666

67-
export default defineConfig(
68-
pluginVue.configs['flat/essential'],
67+
export default [
68+
...pluginVue.configs["flat/essential"],
6969

7070
configureVueProject({
7171
// Optional: specify the script langs in `.vue` files

0 commit comments

Comments
 (0)