Skip to content

Commit 9673a61

Browse files
authored
docs: fix formatting and grammar for clarity (#2028)
1 parent c7c1271 commit 9673a61

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/rules/no-arrow-functions-in-watch.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ since: v7.0.0
1313

1414
## :book: Rule Details
1515

16-
This rules disallows using arrow functions to defined watcher.The reason is arrow functions bind the parent context, so `this` will not be the Vue instance as you expect.([see here for more details](https://vuejs.org/api/options-state.html#watch))
16+
This rule disallows using arrow functions when defining a watcher. Arrow functions bind to their parent context, which means they will not have access to the Vue component instance via `this`. [See here for more details](https://vuejs.org/api/options-state.html#watch).
1717

1818
<eslint-code-block :rules="{'vue/no-arrow-functions-in-watch': ['error']}">
1919

0 commit comments

Comments
 (0)