/
attribute-hyphenation.d.ts
43 lines (38 loc) · 1.04 KB
/
attribute-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
import type { RuleConfig } from '../rule-config';
/**
* Config.
*/
export interface AttributeHyphenationConfig {
ignore?: string[];
}
/**
* Option.
*/
export type AttributeHyphenationOption = 'always' | 'never';
/**
* Options.
*/
export type AttributeHyphenationOptions = [
AttributeHyphenationOption?,
AttributeHyphenationConfig?,
];
/**
* Enforce attribute naming style on custom components in template.
*
* @see [attribute-hyphenation](https://eslint.vuejs.org/rules/attribute-hyphenation.html)
*/
export type AttributeHyphenationRuleConfig =
RuleConfig<AttributeHyphenationOptions>;
/**
* Enforce attribute naming style on custom components in template.
*
* @see [attribute-hyphenation](https://eslint.vuejs.org/rules/attribute-hyphenation.html)
*/
export interface AttributeHyphenationRule {
/**
* Enforce attribute naming style on custom components in template.
*
* @see [attribute-hyphenation](https://eslint.vuejs.org/rules/attribute-hyphenation.html)
*/
'vue/attribute-hyphenation': AttributeHyphenationRuleConfig;
}