/
v-on-event-hyphenation.d.ts
44 lines (39 loc) · 1.07 KB
/
v-on-event-hyphenation.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
import type { RuleConfig } from '../rule-config';
/**
* Config.
*/
export interface VOnEventHyphenationConfig {
autofix?: boolean;
ignore?: string[];
}
/**
* Option.
*/
export type VOnEventHyphenationOption = 'always' | 'never';
/**
* Options.
*/
export type VOnEventHyphenationOptions = [
VOnEventHyphenationOption?,
VOnEventHyphenationConfig?,
];
/**
* Enforce v-on event naming style on custom components in template.
*
* @see [v-on-event-hyphenation](https://eslint.vuejs.org/rules/v-on-event-hyphenation.html)
*/
export type VOnEventHyphenationRuleConfig =
RuleConfig<VOnEventHyphenationOptions>;
/**
* Enforce v-on event naming style on custom components in template.
*
* @see [v-on-event-hyphenation](https://eslint.vuejs.org/rules/v-on-event-hyphenation.html)
*/
export interface VOnEventHyphenationRule {
/**
* Enforce v-on event naming style on custom components in template.
*
* @see [v-on-event-hyphenation](https://eslint.vuejs.org/rules/v-on-event-hyphenation.html)
*/
'vue/v-on-event-hyphenation': VOnEventHyphenationRuleConfig;
}