Skip to content

Commit

Permalink
chore: update docs and fix tsc error
Browse files Browse the repository at this point in the history
  • Loading branch information
ota-meshi committed Oct 31, 2022
1 parent f5d700c commit a4d37ff
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
8 changes: 4 additions & 4 deletions docs/rules/v-on-handler-style.md
Original file line number Diff line number Diff line change
Expand Up @@ -120,9 +120,9 @@ This rule aims to enforce a consistent style in `v-on` event handlers:

</eslint-code-block>

### `["inline-function"]`
### `"inline-function"`

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

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

</eslint-code-block>

### `["inline"]`
### `"inline"`

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

```vue
<template>
Expand Down
3 changes: 2 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@
"baseUrl": ".",
"paths": {
"*": ["typings/*"]
}
},
"skipLibCheck": true
},
"include": ["lib/**/*", "typings/eslint-plugin-vue/global.d.ts"]
}

0 comments on commit a4d37ff

Please sign in to comment.