|
1 | 1 | import type stylelint from 'stylelint' |
2 | | -import max_selector_complexity from './rules/max-selector-complexity/index.js' |
3 | | -import no_unused_custom_properties from './rules/no-unused-custom-properties/index.js' |
4 | | -import no_unknown_custom_property from './rules/no-unknown-custom-property/index.js' |
5 | | -import no_property_browserhacks from './rules/no-property-browserhacks/index.js' |
6 | | -import max_lines_of_code from './rules/max-lines-of-code/index.js' |
7 | | -import no_unused_layers from './rules/no-unused-layers/index.js' |
8 | | -import no_unused_container_names from './rules/no-unused-container-names/index.js' |
9 | | -import no_unknown_container_names from './rules/no-unknown-container-names/index.js' |
10 | | -import no_anonymous_layers from './rules/no-anonymous-layers/index.js' |
11 | | -import no_useless_custom_property_assignment from './rules/no-useless-custom-property-assignment/index.js' |
12 | | -import no_unreachable_media_conditions from './rules/no-unreachable-media-conditions/index.js' |
13 | | -import no_static_media_query from './rules/no-static-media-query/index.js' |
14 | | -import no_static_container_query from './rules/no-static-container-query/index.js' |
15 | | -import max_file_size from './rules/max-file-size/index.js' |
16 | | -import max_embedded_content_size from './rules/max-embedded-content-size/index.js' |
17 | | -import max_comment_size from './rules/max-comment-size/index.js' |
18 | | -import max_average_selectors_per_rule from './rules/max-average-selectors-per-rule/index.js' |
19 | 2 | import max_average_declarations_per_rule from './rules/max-average-declarations-per-rule/index.js' |
20 | 3 | import max_average_selector_complexity from './rules/max-average-selector-complexity/index.js' |
21 | | -import max_important_ratio from './rules/max-important-ratio/index.js' |
22 | | -import no_duplicate_data_urls from './rules/no-duplicate-data-urls/index.js' |
23 | | -import max_unique_units from './rules/max-unique-units/index.js' |
24 | | -import min_selector_uniqueness_ratio from './rules/min-selector-uniqueness-ratio/index.js' |
25 | | -import min_declaration_uniqueness_ratio from './rules/min-declaration-uniqueness-ratio/index.js' |
| 4 | +import max_average_selectors_per_rule from './rules/max-average-selectors-per-rule/index.js' |
26 | 5 | import max_average_specificity from './rules/max-average-specificity/index.js' |
27 | | -import max_selectors_per_rule from './rules/max-selectors-per-rule/index.js' |
| 6 | +import max_comment_size from './rules/max-comment-size/index.js' |
28 | 7 | import max_declarations_per_rule from './rules/max-declarations-per-rule/index.js' |
29 | | -import no_invalid_z_index from './rules/no-invalid-z-index/index.js' |
30 | | -import no_property_shorthand from './rules/no-property-shorthand/index.js' |
| 8 | +import max_embedded_content_size from './rules/max-embedded-content-size/index.js' |
| 9 | +import max_file_size from './rules/max-file-size/index.js' |
| 10 | +import max_important_ratio from './rules/max-important-ratio/index.js' |
| 11 | +import max_lines_of_code from './rules/max-lines-of-code/index.js' |
| 12 | +import max_selector_complexity from './rules/max-selector-complexity/index.js' |
| 13 | +import max_selectors_per_rule from './rules/max-selectors-per-rule/index.js' |
| 14 | +import max_spacing_resets from './rules/max-spacing-resets/index.js' |
| 15 | +import max_unique_animation_functions from './rules/max-unique-animation-functions/index.js' |
| 16 | +import max_unique_box_shadows from './rules/max-unique-box-shadows/index.js' |
31 | 17 | import max_unique_colors from './rules/max-unique-colors/index.js' |
| 18 | +import max_unique_durations from './rules/max-unique-durations/index.js' |
32 | 19 | import max_unique_font_families from './rules/max-unique-font-families/index.js' |
33 | 20 | import max_unique_font_sizes from './rules/max-unique-font-sizes/index.js' |
34 | 21 | import max_unique_gradients from './rules/max-unique-gradients/index.js' |
35 | | -import max_unique_box_shadows from './rules/max-unique-box-shadows/index.js' |
36 | | -import max_unique_durations from './rules/max-unique-durations/index.js' |
37 | | -import max_unique_animation_functions from './rules/max-unique-animation-functions/index.js' |
38 | | -import max_spacing_resets from './rules/max-spacing-resets/index.js' |
| 22 | +import max_unique_line_heights from './rules/max-unique-line-heights/index.js' |
| 23 | +import max_unique_units from './rules/max-unique-units/index.js' |
| 24 | +import min_declaration_uniqueness_ratio from './rules/min-declaration-uniqueness-ratio/index.js' |
| 25 | +import min_selector_uniqueness_ratio from './rules/min-selector-uniqueness-ratio/index.js' |
| 26 | +import no_anonymous_layers from './rules/no-anonymous-layers/index.js' |
| 27 | +import no_duplicate_data_urls from './rules/no-duplicate-data-urls/index.js' |
| 28 | +import no_invalid_z_index from './rules/no-invalid-z-index/index.js' |
| 29 | +import no_property_browserhacks from './rules/no-property-browserhacks/index.js' |
| 30 | +import no_property_shorthand from './rules/no-property-shorthand/index.js' |
| 31 | +import no_static_container_query from './rules/no-static-container-query/index.js' |
| 32 | +import no_static_media_query from './rules/no-static-media-query/index.js' |
| 33 | +import no_unknown_container_names from './rules/no-unknown-container-names/index.js' |
| 34 | +import no_unknown_custom_property from './rules/no-unknown-custom-property/index.js' |
| 35 | +import no_unreachable_media_conditions from './rules/no-unreachable-media-conditions/index.js' |
| 36 | +import no_unused_container_names from './rules/no-unused-container-names/index.js' |
| 37 | +import no_unused_custom_properties from './rules/no-unused-custom-properties/index.js' |
| 38 | +import no_unused_layers from './rules/no-unused-layers/index.js' |
| 39 | +import no_useless_custom_property_assignment from './rules/no-useless-custom-property-assignment/index.js' |
39 | 40 |
|
| 41 | +// Alphabetically ordered list of all plugins |
40 | 42 | const plugins: stylelint.Plugin[] = [ |
41 | | - max_selector_complexity, |
42 | | - max_lines_of_code, |
43 | | - no_unused_custom_properties, |
44 | | - no_unknown_custom_property, |
45 | | - no_property_browserhacks, |
46 | | - no_unused_layers, |
47 | | - no_unused_container_names, |
48 | | - no_unknown_container_names, |
49 | | - no_anonymous_layers, |
50 | | - no_useless_custom_property_assignment, |
51 | | - no_unreachable_media_conditions, |
52 | | - no_static_media_query, |
53 | | - no_static_container_query, |
54 | | - max_file_size, |
55 | | - max_embedded_content_size, |
56 | | - max_comment_size, |
57 | | - max_average_selectors_per_rule, |
58 | 43 | max_average_declarations_per_rule, |
59 | 44 | max_average_selector_complexity, |
60 | | - max_important_ratio, |
61 | | - no_duplicate_data_urls, |
62 | | - max_unique_units, |
63 | | - min_selector_uniqueness_ratio, |
64 | | - min_declaration_uniqueness_ratio, |
| 45 | + max_average_selectors_per_rule, |
65 | 46 | max_average_specificity, |
66 | | - max_selectors_per_rule, |
| 47 | + max_comment_size, |
67 | 48 | max_declarations_per_rule, |
68 | | - no_invalid_z_index, |
69 | | - no_property_shorthand, |
| 49 | + max_embedded_content_size, |
| 50 | + max_file_size, |
| 51 | + max_important_ratio, |
| 52 | + max_lines_of_code, |
| 53 | + max_selector_complexity, |
| 54 | + max_selectors_per_rule, |
| 55 | + max_spacing_resets, |
| 56 | + max_unique_animation_functions, |
| 57 | + max_unique_box_shadows, |
70 | 58 | max_unique_colors, |
| 59 | + max_unique_durations, |
71 | 60 | max_unique_font_families, |
72 | 61 | max_unique_font_sizes, |
73 | 62 | max_unique_gradients, |
74 | | - max_unique_box_shadows, |
75 | | - max_unique_durations, |
76 | | - max_unique_animation_functions, |
77 | | - max_spacing_resets, |
| 63 | + max_unique_line_heights, |
| 64 | + max_unique_units, |
| 65 | + min_declaration_uniqueness_ratio, |
| 66 | + min_selector_uniqueness_ratio, |
| 67 | + no_anonymous_layers, |
| 68 | + no_duplicate_data_urls, |
| 69 | + no_invalid_z_index, |
| 70 | + no_property_browserhacks, |
| 71 | + no_property_shorthand, |
| 72 | + no_static_container_query, |
| 73 | + no_static_media_query, |
| 74 | + no_unknown_container_names, |
| 75 | + no_unknown_custom_property, |
| 76 | + no_unreachable_media_conditions, |
| 77 | + no_unused_container_names, |
| 78 | + no_unused_custom_properties, |
| 79 | + no_unused_layers, |
| 80 | + no_useless_custom_property_assignment, |
78 | 81 | ] |
79 | 82 |
|
80 | 83 | export default plugins |
0 commit comments