mirror of
https://github.com/primer/css.git
synced 2025-01-04 12:22:17 +03:00
Merge pull request #411 from primer/doc_links
Updates to stylelint package links/docs for new structure
This commit is contained in:
commit
1b1a2360f6
@ -1,33 +0,0 @@
|
||||
# HEAD
|
||||
|
||||
# 2.0.0
|
||||
|
||||
:boom: **The following updates are breaking changes**, since code that disables the deprecated rule will now produce linting errors. Please update your `stylelint-disable` statements accordingly.
|
||||
|
||||
- Replaced `selector-no-id: true` with `selector-max-id: 0`
|
||||
- Replaced `selector-no-type: true` with `selector-max-type: 0`
|
||||
|
||||
The rest of the changes should not introduce new linting errors:
|
||||
|
||||
- Updated: moved [browserslist](https://github.com/ai/browserslist) spec to `package.json`
|
||||
- Updated: using the [`no-unsupported-browser-features` plugin](https://github.com/ismay/stylelint-no-unsupported-browser-features) instead of the deprecated `no-unsupported-browser-features` rule
|
||||
- Removed: `media-feature-no-missing-punctuation`
|
||||
- Updated: replaced `rule-nested-empty-line-before` and `rule-non-nested-empty-line-before` with `rule-empty-line-before`
|
||||
|
||||
# 1.4.0
|
||||
|
||||
- Updated: Development dependencies are any version `*`
|
||||
- Removed: `selector-class-pattern` from config. https://github.com/primer/stylelint-config-primer/pull/11
|
||||
|
||||
# 1.3.0
|
||||
|
||||
- Added: `length-zero-no-unit` to disallow zero values with units eg `0px`
|
||||
|
||||
# 1.2.0
|
||||
|
||||
- Removed: We don't need `scss/at-extend-no-missing-placeholder` anymore taken care of by `at-rule-blacklist`
|
||||
- Added: Adding `selector-no-type` to the rules
|
||||
|
||||
# 1.0.0
|
||||
|
||||
- Creating a sharable config object
|
@ -75,7 +75,7 @@ This is a list of the lints turned on in this configuration, and what they do.
|
||||
|
||||
* [declaration-block-no-duplicate-properties](http://stylelint.io/user-guide/rules/declaration-block-no-duplicate-properties/): Disallow duplicate properties within declaration blocks. _Ignore_: consecutive duplicated properties.
|
||||
* [declaration-block-no-shorthand-property-overrides](http://stylelint.io/user-guide/rules/declaration-block-no-shorthand-property-overrides/): Disallow shorthand properties that override related longhand properties.
|
||||
* [declaration-block-properties-order](http://stylelint.io/user-guide/rules/declaration-block-properties-order/): Properties in declaration blocks must be [sorted according to this list](https://github.com/primer/stylelint-config-primer/blob/1ac303e9a633ee38d168a014dcea10eaf5a95aab/index.js#L45-L215).
|
||||
* [declaration-block-properties-order](http://stylelint.io/user-guide/rules/declaration-block-properties-order/): Properties in declaration blocks must be [sorted according to this list](https://github.com/primer/primer/blob/master/tools/stylelint-config-primer/index.js#L47-L217).
|
||||
* [declaration-block-semicolon-newline-after](http://stylelint.io/user-guide/rules/declaration-block-semicolon-newline-after/): There must always be a newline after the semicolon.
|
||||
* [declaration-block-semicolon-space-before](http://stylelint.io/user-guide/rules/declaration-block-semicolon-space-before/): There must never be whitespace before the semicolons.
|
||||
* [declaration-block-single-line-max-declarations](http://stylelint.io/user-guide/rules/declaration-block-single-line-max-declarations/): There should never be more than `1` declaration per line.
|
||||
@ -116,7 +116,7 @@ This is a list of the lints turned on in this configuration, and what they do.
|
||||
* [no-eol-whitespace](http://stylelint.io/user-guide/rules/no-eol-whitespace/): Disallow end-of-line whitespace.
|
||||
* [no-extra-semicolons](http://stylelint.io/user-guide/rules/no-extra-semicolons/): Disallow extra semicolons.
|
||||
* [no-missing-end-of-source-newline](http://stylelint.io/user-guide/rules/no-missing-end-of-source-newline/): Disallow missing end-of-file newlines in non-empty files.
|
||||
* [no-unsupported-browser-features](http://stylelint.io/user-guide/rules/no-unsupported-browser-features/): Disallow features that are unsupported by the browsers that [we are targeting in the config](https://github.com/primer/stylelint-config-primer/blob/70866772c3b916be5c62b95cfd94b37dfc6e5b04/index.js#L267)
|
||||
* [no-unsupported-browser-features](http://stylelint.io/user-guide/rules/no-unsupported-browser-features/): Disallow features that are unsupported by the browsers that [we are targeting in the config](https://github.com/primer/primer/blob/master/tools/stylelint-config-primer/index.js#L272)
|
||||
|
||||
#### Media Feature
|
||||
|
||||
|
@ -1,20 +0,0 @@
|
||||
|
||||
# HEAD
|
||||
|
||||
# 1.3.0
|
||||
|
||||
- Updating to latest Utilities
|
||||
|
||||
# 1.2.0
|
||||
|
||||
- Updating dependency for stylelint@7.0.0
|
||||
- Updating to latest Utilities
|
||||
|
||||
# 1.1.0
|
||||
|
||||
* Updated: Using updated primer-utilities module to pull classes in through exports
|
||||
* Added: Class name to error message
|
||||
|
||||
# 1.0.0
|
||||
|
||||
* Added: New rule `selector-no-utility`
|
Loading…
Reference in New Issue
Block a user