@@ -7,6 +7,32 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
7
7
Object . defineProperty ( exports , "__esModule" , { value : true } ) ;
8
8
console . log ( "Loading my-eslint-plugin" ) ;
9
9
const prefer_aria_over_title_attribute_1 = __importDefault ( require ( "./rules/prefer-aria-over-title-attribute" ) ) ;
10
+ const checkbox_needs_labelling_1 = __importDefault ( require ( "./rules/checkbox-needs-labelling" ) ) ;
11
+ const image_button_missing_aria_1 = __importDefault ( require ( "./rules/buttons/image-button-missing-aria" ) ) ;
12
+ const link_missing_labelling_1 = __importDefault ( require ( "./rules/link-missing-labelling" ) ) ;
13
+ const input_components_require_accessible_name_1 = __importDefault ( require ( "./rules/input-components-require-accessible-name" ) ) ;
14
+ const menu_item_needs_labelling_1 = __importDefault ( require ( "./rules/menu-item-needs-labelling" ) ) ;
15
+ const switch_needs_labelling_1 = __importDefault ( require ( "./rules/switch-needs-labelling" ) ) ;
16
+ const toolbar_missing_aria_1 = __importDefault ( require ( "./rules/toolbar-missing-aria" ) ) ;
17
+ const combobox_needs_labelling_1 = __importDefault ( require ( "./rules/combobox-needs-labelling" ) ) ;
18
+ const no_empty_components_1 = __importDefault ( require ( "./rules/no-empty-components" ) ) ;
19
+ const accordion_header_needs_labelling_1 = __importDefault ( require ( "./rules/accordion-header-needs-labelling" ) ) ;
20
+ const accordion_item_needs_header_and_panel_1 = __importDefault ( require ( "./rules/accordion-item-needs-header-and-panel" ) ) ;
21
+ const compound_button_needs_labelling_1 = __importDefault ( require ( "./rules/buttons/compound-button-needs-labelling" ) ) ;
22
+ const no_empty_buttons_1 = __importDefault ( require ( "./rules/buttons/no-empty-buttons" ) ) ;
23
+ const spin_button_needs_labelling_1 = __importDefault ( require ( "./rules/spin-button-needs-labelling" ) ) ;
24
+ const spin_button_unrecommended_labelling_1 = __importDefault ( require ( "./rules/spin-button-unrecommended-labelling" ) ) ;
25
+ const breadcrumb_needs_labelling_1 = __importDefault ( require ( "./rules/breadcrumb-needs-labelling" ) ) ;
26
+ const dropdown_needs_labelling_1 = __importDefault ( require ( "./rules/dropdown-needs-labelling" ) ) ;
27
+ const tooltip_not_recommended_1 = __importDefault ( require ( "./rules/tooltip-not-recommended" ) ) ;
28
+ const avatar_needs_name_1 = __importDefault ( require ( "./rules/avatar-needs-name" ) ) ;
29
+ const radio_button_missing_label_1 = __importDefault ( require ( "./rules/radio-button-missing-label" ) ) ;
30
+ const radiogroup_missing_label_1 = __importDefault ( require ( "./rules/radiogroup-missing-label" ) ) ;
31
+ const dialogbody_needs_title_content_and_actions_1 = __importDefault ( require ( "./rules/dialogbody-needs-title-content-and-actions" ) ) ;
32
+ const dialogsurface_needs_aria_1 = __importDefault ( require ( "./rules/dialogsurface-needs-aria" ) ) ;
33
+ const spinner_needs_labelling_1 = __importDefault ( require ( "./rules/spinner-needs-labelling" ) ) ;
34
+ const badge_needs_accessible_name_1 = __importDefault ( require ( "./rules/badge-needs-accessible-name" ) ) ;
35
+ const progressbar_needs_labelling_1 = __importDefault ( require ( "./rules/progressbar-needs-labelling" ) ) ;
10
36
//------------------------------------------------------------------------------
11
37
// Requirements
12
38
//------------------------------------------------------------------------------
@@ -16,33 +42,33 @@ const prefer_aria_over_title_attribute_1 = __importDefault(require("./rules/pref
16
42
// import all rules in lib/rules
17
43
module . exports = {
18
44
rules : {
19
- "checkbox-needs-labelling" : require ( "./rules/checkbox-needs-labelling" ) ,
20
- "image-button-missing-aria" : require ( "./rules/buttons/image-button-missing-aria" ) ,
21
- "link-missing-labelling" : require ( "./rules/link-missing-labelling" ) ,
22
- "input-components-require-accessible-name" : require ( "./rules/input-components-require-accessible-name" ) ,
23
- "menu-item-needs-labelling" : require ( "./rules/menu-item-needs-labelling" ) ,
24
- "switch-needs-labelling" : require ( "./rules/switch-needs-labelling" ) ,
25
- "toolbar-missing-aria" : require ( "./rules/toolbar-missing-aria" ) ,
26
- "combobox-needs-labelling" : require ( "./rules/combobox-needs-labelling" ) ,
27
- "no-empty-components" : require ( "./rules/no-empty-components" ) ,
28
- "accordion-header-needs-labelling" : require ( "./rules/accordion-header-needs-labelling" ) ,
29
- "accordion-item-needs-header-and-panel" : require ( "./rules/accordion-item-needs-header-and-panel" ) ,
30
- "compound-button-needs-labelling" : require ( "./rules/buttons/compound-button-needs-labelling" ) ,
31
- "no-empty-buttons" : require ( "./rules/buttons/no-empty-buttons" ) ,
32
- "spin-button-needs-labelling" : require ( "./rules/spin-button-needs-labelling" ) ,
33
- "spin-button-unrecommended-labelling" : require ( "./rules/spin-button-unrecommended-labelling" ) ,
34
- "breadcrumb-needs-labelling" : require ( "./rules/breadcrumb-needs-labelling" ) ,
35
- "dropdown-needs-labelling" : require ( "./rules/dropdown-needs-labelling" ) ,
36
- "tooltip-not-recommended" : require ( "./rules/tooltip-not-recommended" ) ,
37
- "avatar-needs-name" : require ( "./rules/avatar-needs-name" ) ,
38
- "radio-button-missing-label" : require ( "./rules/radio-button-missing-label" ) ,
39
- "radiogroup-missing-label" : require ( "./rules/radiogroup-missing-label" ) ,
45
+ "checkbox-needs-labelling" : checkbox_needs_labelling_1 . default ,
46
+ "image-button-missing-aria" : image_button_missing_aria_1 . default ,
47
+ "link-missing-labelling" : link_missing_labelling_1 . default ,
48
+ "input-components-require-accessible-name" : input_components_require_accessible_name_1 . default ,
49
+ "menu-item-needs-labelling" : menu_item_needs_labelling_1 . default ,
50
+ "switch-needs-labelling" : switch_needs_labelling_1 . default ,
51
+ "toolbar-missing-aria" : toolbar_missing_aria_1 . default ,
52
+ "combobox-needs-labelling" : combobox_needs_labelling_1 . default ,
53
+ "no-empty-components" : no_empty_components_1 . default ,
54
+ "accordion-header-needs-labelling" : accordion_header_needs_labelling_1 . default ,
55
+ "accordion-item-needs-header-and-panel" : accordion_item_needs_header_and_panel_1 . default ,
56
+ "compound-button-needs-labelling" : compound_button_needs_labelling_1 . default ,
57
+ "no-empty-buttons" : no_empty_buttons_1 . default ,
58
+ "spin-button-needs-labelling" : spin_button_needs_labelling_1 . default ,
59
+ "spin-button-unrecommended-labelling" : spin_button_unrecommended_labelling_1 . default ,
60
+ "breadcrumb-needs-labelling" : breadcrumb_needs_labelling_1 . default ,
61
+ "dropdown-needs-labelling" : dropdown_needs_labelling_1 . default ,
62
+ "tooltip-not-recommended" : tooltip_not_recommended_1 . default ,
63
+ "avatar-needs-name" : avatar_needs_name_1 . default ,
64
+ "radio-button-missing-label" : radio_button_missing_label_1 . default ,
65
+ "radiogroup-missing-label" : radiogroup_missing_label_1 . default ,
40
66
"prefer-aria-over-title-attribute" : prefer_aria_over_title_attribute_1 . default ,
41
- "dialogbody-needs-title-content-and-actions" : require ( "./rules/dialogbody-needs-title-content-and-actions" ) ,
42
- "dialogsurface-needs-aria" : require ( "./rules/dialogsurface-needs-aria" ) ,
43
- "spinner-needs-labelling" : require ( "./rules/spinner-needs-labelling" ) ,
44
- "badge-needs-accessible-name" : require ( "./rules/badge-needs-accessible-name" ) ,
45
- "progressbar-needs-labelling" : require ( "./rules/progressbar-needs-labelling" )
67
+ "dialogbody-needs-title-content-and-actions" : dialogbody_needs_title_content_and_actions_1 . default ,
68
+ "dialogsurface-needs-aria" : dialogsurface_needs_aria_1 . default ,
69
+ "spinner-needs-labelling" : spinner_needs_labelling_1 . default ,
70
+ "badge-needs-accessible-name" : badge_needs_accessible_name_1 . default ,
71
+ "progressbar-needs-labelling" : progressbar_needs_labelling_1 . default
46
72
} ,
47
73
configs : {
48
74
recommended : {
0 commit comments