Skip to content

Commit a4d37ff

Browse files
committed
chore: update docs and fix tsc error
1 parent f5d700c commit a4d37ff

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

docs/rules/v-on-handler-style.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -120,9 +120,9 @@ This rule aims to enforce a consistent style in `v-on` event handlers:
120120

121121
</eslint-code-block>
122122

123-
### `["inline-function"]`
123+
### `"inline-function"`
124124

125-
<eslint-code-block fix :rules="{'vue/v-on-handler-style': ['error', ['inline-function']]}">
125+
<eslint-code-block fix :rules="{'vue/v-on-handler-style': ['error', 'inline-function']}">
126126

127127
```vue
128128
<template>
@@ -140,9 +140,9 @@ This rule aims to enforce a consistent style in `v-on` event handlers:
140140

141141
</eslint-code-block>
142142

143-
### `["inline"]`
143+
### `"inline"`
144144

145-
<eslint-code-block fix :rules="{'vue/v-on-handler-style': ['error', ['inline']]}">
145+
<eslint-code-block fix :rules="{'vue/v-on-handler-style': ['error', 'inline']}">
146146

147147
```vue
148148
<template>

tsconfig.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@
1919
"baseUrl": ".",
2020
"paths": {
2121
"*": ["typings/*"]
22-
}
22+
},
23+
"skipLibCheck": true
2324
},
2425
"include": ["lib/**/*", "typings/eslint-plugin-vue/global.d.ts"]
2526
}

0 commit comments

Comments
 (0)