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: docs/rules/v-on-handler-style.md
+37-1
Original file line number
Diff line number
Diff line change
@@ -63,6 +63,7 @@ This rule aims to enforce a consistent style in `v-on` event handlers:
63
63
-`"inline"` ... Allow inline handlers. e.g. `v-on:click="handler()"`
64
64
- Second option
65
65
-`ignoreIncludesComment` ... If `true`, do not report inline handlers or inline functions containing comments, even if the preferred style is `"method"`. Default is `false`.
66
+
-`allowInlineFuncSingleArg` ... Used in conjunction with `["method", "inline-function"]` or `["inline", "inline-function"]`. If `true`, allow inline functions with a single argument. Default is `false`.
66
67
67
68
### `["method", "inline-function"]` (Default)
68
69
@@ -126,24 +127,59 @@ This rule aims to enforce a consistent style in `v-on` event handlers:
0 commit comments