Skip to content

Commit 7d65824

Browse files
waynzhota-meshi
authored andcommitted
docs: update
1 parent 7d16008 commit 7d65824

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Diff for: docs/rules/slot-name-casing.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,9 @@ This rule enforce proper casing of slot names in vue components.
4040
}
4141
```
4242

43-
- `"camelCase"` (default) ... Enforce slot name to be camel case.
44-
- `"kebab-case"` ... Enforce slot name to be kebab case.
45-
- `"singleword"` ... Enforce slot name to be single word.
43+
- `"camelCase"` (default) ... Enforce slot name to be in camel case.
44+
- `"kebab-case"` ... Enforce slot name to be in kebab case.
45+
- `"singleword"` ... Enforce slot name to be a single word.
4646

4747
### `"kebab-case"`
4848

Diff for: lib/rules/slot-name-casing.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ module.exports = {
3939
}
4040
],
4141
messages: {
42-
invalidCase: 'Slot name "{{name}}" is not in {{caseType}}.'
42+
invalidCase: 'Slot name "{{name}}" is not {{caseType}}.'
4343
}
4444
},
4545
/** @param {RuleContext} context */

0 commit comments

Comments
 (0)