@primer/stylelint-config 13.0.0-rc.6ef7302 → 13.0.0-rc.77d8c5f
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +0 -5
- package/dist/index.cjs +1154 -0
- package/dist/index.mjs +1151 -0
- package/package.json +14 -8
- package/plugins/README.md +1 -157
- package/plugins/lib/primitives.js +36 -0
- package/plugins/spacing.js +68 -63
- package/plugins/lib/primer-utilities.js +0 -526
- package/plugins/new-color-vars-have-fallback.js +0 -35
- package/plugins/no-deprecated-colors.js +0 -97
- package/plugins/no-override.js +0 -98
- package/plugins/no-scale-colors.js +0 -51
- package/plugins/no-undefined-vars.js +0 -118
- package/plugins/no-unused-vars.js +0 -96
- package/plugins/utilities.js +0 -52
package/README.md
CHANGED
|
@@ -30,17 +30,12 @@ Primer Stylelint Config extends the [stylelint-config-standard](https://github.c
|
|
|
30
30
|
- [stylelint-order](https://github.com/hudochenkov/stylelint-order): Order-related linting rules for stylelint. Properties must be [sorted according to this list](https://github.com/primer/stylelint-config/blob/main/property-order.js).
|
|
31
31
|
- [stylelint-scss](https://github.com/kristerkari/stylelint-scss): A collection of SCSS specific linting rules for stylelint
|
|
32
32
|
- [scss/selector-no-redundant-nesting-selector](https://github.com/kristerkari/stylelint-scss/blob/master/src/rules/selector-no-redundant-nesting-selector/README.md): Disallow redundant nesting selectors (`&`).
|
|
33
|
-
- [primer/no-override](./plugins/#primerno-override): Prohibits custom styles that target Primer CSS selectors.
|
|
34
|
-
- [primer/no-unused-vars](./plugins/#primerno-unused-vars): Warns about SCSS variables that are declared by not used in your local files.
|
|
35
|
-
- [primer/no-undefined-vars](./plugins/#primerno-undefined-vars): Prohibits usage of undefined CSS variables.
|
|
36
|
-
- [primer/no-scale-colors](./plugins/#primerno-scale-colors): Prohibits the use of [non-functional scale CSS variables](https://primer.style/css/support/color-system#color-palette)
|
|
37
33
|
- [primer/colors](./plugins/#primercolors): Enforces the use of certain color variables.
|
|
38
34
|
- [primer/spacing](./plugins/#primerspacing): Enforces the use of spacing variables for margin and padding.
|
|
39
35
|
- [primer/typography](./plugins/#primertypography): Enforces the use of typography variables for certain CSS properties.
|
|
40
36
|
- [primer/borders](./plugins/#primerborders): Enforces the use of certain variables for border properties.
|
|
41
37
|
- [primer/box-shadow](./plugins/#primerbox-shadow): Enforces the use of certain variables for `box-shadow`.
|
|
42
38
|
- [primer/responsive-widths](./plugins/#primerresponsive-widths): Errors on `width` and `min-width` that is larger than the minimum browser size supported. `320px`
|
|
43
|
-
- [primer/utilities](./plugins/#primerutilities): Errors when someone writes custom CSS for a declaration that has an existing primer/css/utility.
|
|
44
39
|
|
|
45
40
|
## License
|
|
46
41
|
|