All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
Full list of changes can be viewed here
- Bumped @stylistic/stylelint-plugin from 2.1.2 to 3.0.1
- Bumped stylelint from 16.6.1 to 16.9.0
- Bumped postcss from 8.4.39 to 8.4.45
- Bumped stylelint-scss from 6.4.1 to 6.6.0
Full list of changes can be viewed here
- Added the following stylistic rules back that were removed in v10 thanks to the @stylistic/stylelint-plugin
@stylistic/block-opening-brace-space-before
@stylistic/color-hex-case
@stylistic/declaration-bang-space-after
@stylistic/declaration-bang-space-before
@stylistic/declaration-block-semicolon-newline-after
@stylistic/declaration-block-semicolon-space-before
@stylistic/declaration-block-trailing-semicolon
@stylistic/declaration-colon-space-after
@stylistic/declaration-colon-space-before
@stylistic/function-comma-space-after
@stylistic/function-parentheses-space-inside
@stylistic/indentation
@stylistic/media-feature-parentheses-space-inside
@stylistic/no-missing-end-of-source-newline
@stylistic/number-leading-zero
@stylistic/number-no-trailing-zeros
@stylistic/selector-list-comma-newline-after
@stylistic/string-quotes
Full list of changes can be viewed here
- Replaced deprecated
scss/at-import-partial-extension-blacklist
withscss/at-import-partial-extension-disallowed-list
rule. PR - Modernized unit test to use node:test. PR
- Minor dependency updates
- Updated package to be compatible with stylelint v16
- Replaced deprecated
"scss/at-import-no-partial-leading-underscore": true
rule with new"scss/load-no-partial-leading-underscore": true
rule
- Removed Node.js less than 18.12.0 support
- Updated package to be compatible with stylelint v15
- Added node 18 to automated test matrix
- Added scss/no-global-function-names rule. Resolves #268
- Dropped official support for Node 12
- Removed node 12 from automated test matrix
- Removed stylelint-order plugin. Resolves #214 and #231
- Removed tests for deprecated stylelint rules
- Removed deprecated stylelint rules
- "block-opening-brace-space-before": "always"
- "color-hex-case": "lower"
- "declaration-bang-space-after": "never"
- "declaration-bang-space-before": "always"
- "declaration-block-semicolon-newline-after": "always"
- "declaration-block-semicolon-space-before": "never"
- "declaration-block-trailing-semicolon": "always"
- "declaration-colon-space-after": "always-single-line"
- "declaration-colon-space-before": "never"
- "function-comma-space-after": "always-single-line"
- "function-parentheses-space-inside": "never"
- "indentation": 2
- "media-feature-parentheses-space-inside": "never"
- "no-missing-end-of-source-newline": true
- "number-leading-zero": "always"
- "number-no-trailing-zeros": true
- "selector-list-comma-newline-after": "always"
- "string-quotes": "single"
- Removed scss/at-mixin-pattern rule. Resolves #181 and #191
- Add postcss ^8.3.3 as a peerDependency. Mitigates #203
- Updated repo to be compatible with stylelint v14. Updated stylelint peerDependency range from
^13.0.0
to^14.0.0
PR - Renamed tests files extension from
.js
to.spec.js
- Moved manually tested passing and failing SCSS examples into
__tests__/manual-test-cases
- Added node 16 to automated test matrix
- Dropped official support for Node 10 PR
- Removed node 10 from automated test matrix PR
- Removed babel as a dev dependency, resolves issue with security vuln in glob-parent CVE-2020-28469
- Removed
src/.stylelint.json
- Set node engine minimum to version 10.0.0
- Added node 14 to automated test matrix
- Dropped official support for Node 8
- Removed node 8 from automated test matrix
- Add dependabot integration to help with keeping dependencies up to date and secure
- Bumped up
stylelint
peer/dev dependency to v13.7.0
- Replaced deprecated
at-rule-blacklist
rule withat-rule-disallowed-list
rule - Replaced deprecated
declaration-property-value-blacklist
rule withdeclaration-property-value-disallowed-list
rule
- Removed unused scss-lint files, these were only used to generate lint errors for comparison with stylelint and did not play a functional role in how this stylelint config worked
- Removed unused Gemfile
- Removed unused Gemfile.lock
- Removed src/.scss-lint.yml
- Updated stylelint peerDependency range from
^10.0.1 || ^11.0.0 || ^12.0.0
to^13.0.0
Node.js v10 or newer is required. That's because stylelint v13 itself doesn't support Node.js versions below 10.
- Bumped up
stylelint-order
dependency to^4.0.0
- Update test expectations to not require specific error message order
- Updated stylelint peerDependency range from
^10.0.1 || ^11.0.0 || ^12.0.0
to^13.0.0
Node.js v10 or newer is required. That's because stylelint v13 itself doesn't support Node.js versions below 10.
- Bumped up
stylelint-order
dependency to^4.0.0
- Update test expectations to not require specific error message order
- Updated stylelint peerDependency range from
^10.0.1 || ^11.0.0
to^10.0.1 || ^11.0.0 || ^12.0.0
to include stylelint 12
- Updated stylelint peerDependency range from
^10.0.1
to^10.0.1 || ^11.0.0
- Bumped up
stylelint
peer/dev dependency to^10.0.1
- Bumped up
stylelint-order
dependency to^3.0.0
- Node.js 8.7.0 or greater is now required
- Fix patterns for variables like "$x1". PR
- Ignore all @-rules in max-nesting-depth. PR
- Updated
stylelint-order
dependency range to pull in 1.x or 2.x versions. Both major versions are compatible. PR - Updated up
stylelint-scss
dependency to pull minimum of 3.4.0 PR
- Bumped up
stylelint-order
dependency to ^1.0.0 PR
- Added ability to run tests on Windows PR
- Ignore @each for max-nesting-depth PR
- Added scss/at-rule-no-unknown rule #18
- Bumped up
stylelint
peer/dev dependency to v9.0.0 - Added stylelint-scss and stylelint-order as dependencies #22
- Node.js 6.x or greater is now required #24)
- Bumped up
stylelint-order
to v0.8.0
- Fixed border zero rule. Issue 16
- Removed
{"type": "at-rule", "hasBlock": true }
from order rule. Causes issues with@media
queries and@for
loops - Removed
{"type": "rule", "selector": "/^&:\\w/"},
from order rule. - Removed
{"type": "rule", "selector": "/^&::\\w/"},
from order rule.
- Add rules & tests for declaration-order PR
- Moved stylelint, stylelint-scss, stylelint-order to peerDependencies / devDependencies PR
- Update copyright years in license
- Added greenkeeper to help keep dependencies up to date
- Bumped up
stylelint
to v8.0.0 - Bumped up
stylelint-order
to v0.6.0
- Removed unused
stylelint-selector-no-utility
dependency from package.json
- Added greenkeeper to help keep dependencies up to date
- Bumped up
stylelint
to v8.0.0 - Bumped up
stylelint-order
to v0.6.0
- Removed unused
stylelint-selector-no-utility
dependency from package.json
- Bumped up
stylelint
to v7.12.0
- Replaced deprecated
selector-no-id
rule withselector-max-id
rule
- Bumped up
stylelint-order
to v0.4.3
- Replaced deprecated
order/declaration-block-properties-alphabetical-order
rule withorder/properties-alphabetical-order
rule
- Added
stylelint-order
plugin
- Bumped up
stylelint
to v7.8.0 - Bumped up
stylelint-scss
to v1.4.1
- Replaced deprecated
declaration-block-properties-order
rule withorder/declaration-block-properties-alphabetical-order
rule - Replaced deprecated
rule-nested-empty-line-before
rule withrule-empty-line-before
rule - Replaced deprecated
rule-non-nested-empty-line-before
rule withrule-empty-line-before
rule
stylelint-disable-reason
rule. This rule has been deprecated in stylelint 7.8 and in 8.0 will be removed. See stylelint CHANGELOG: https://stylelint.io/CHANGELOG/#780
- Regex for selector-class-pattern now matches lowercase with hyphens correctly
- Updated test for url-quotes.js to match updated error text
scss/dollar-variable-colon-space-after
rulescss/dollar-variable-colon-space-before
rule
- Bumped up
stylelint
to v7.1.0 - Bumped up
stylelint-scss
to v1.3.4
stylelint-disable-reason
ruleproperty-no-unknown
rulemedia-feature-parentheses-space-inside
ruleno-missing-end-of-source-newline
rule
- Bumped up
stylelint
to v7.0.2 - Bumped up
stylelint-scss
to v1.2.1
no-missing-eof-newline
rulefunction-calc-no-unspaced-operator
rule
function-parentheses-space-inside
rulescss/at-import-partial-extension-blacklist
ruledeclaration-block-properties-order
ruleselector-no-vendor-prefix
rulemedia-feature-name-no-vendor-prefix
ruleat-rule-no-vendor-prefix
rule
- Sorted stylelint rules alphabetically in config
max-nesting-depth
rule set to 1 to match Sass Guidelines NestingDepth max_depth: 1 rule- Cleaned up comments in
failing-test-case.scss
- Declaration order now sorted alphabetically in
passing-test-case.scss
- Updated tests to account for new rules
block-closing-brace-newline-after
ruleno-extra-semicolons
rulestring-no-newline
rule
- Initial release