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-blacklistwithscss/at-import-partial-extension-disallowed-listrule. 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": truerule with new"scss/load-no-partial-leading-underscore": truerule
- 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 bjankord#203
- Updated repo to be compatible with stylelint v14. Updated stylelint peerDependency range from
^13.0.0to^14.0.0PR - Renamed tests files extension from
.jsto.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
stylelintpeer/dev dependency to v13.7.0
- Replaced deprecated
at-rule-blacklistrule withat-rule-disallowed-listrule - Replaced deprecated
declaration-property-value-blacklistrule withdeclaration-property-value-disallowed-listrule
- 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.0to^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-orderdependency 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.0to^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-orderdependency to^4.0.0 - Update test expectations to not require specific error message order
- Updated stylelint peerDependency range from
^10.0.1 || ^11.0.0to^10.0.1 || ^11.0.0 || ^12.0.0to include stylelint 12
- Updated stylelint peerDependency range from
^10.0.1to^10.0.1 || ^11.0.0
- Bumped up
stylelintpeer/dev dependency to^10.0.1 - Bumped up
stylelint-orderdependency 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-orderdependency range to pull in 1.x or 2.x versions. Both major versions are compatible. PR - Updated up
stylelint-scssdependency to pull minimum of 3.4.0 PR
- Bumped up
stylelint-orderdependency 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
stylelintpeer/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-orderto v0.8.0
- Fixed border zero rule. Issue 16
- Removed
{"type": "at-rule", "hasBlock": true }from order rule. Causes issues with@mediaqueries and@forloops - 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
stylelintto v8.0.0 - Bumped up
stylelint-orderto v0.6.0
- Removed unused
stylelint-selector-no-utilitydependency from package.json
- Added greenkeeper to help keep dependencies up to date
- Bumped up
stylelintto v8.0.0 - Bumped up
stylelint-orderto v0.6.0
- Removed unused
stylelint-selector-no-utilitydependency from package.json
- Bumped up
stylelintto v7.12.0
- Replaced deprecated
selector-no-idrule withselector-max-idrule
- Bumped up
stylelint-orderto v0.4.3
- Replaced deprecated
order/declaration-block-properties-alphabetical-orderrule withorder/properties-alphabetical-orderrule
- Added
stylelint-orderplugin
- Bumped up
stylelintto v7.8.0 - Bumped up
stylelint-scssto v1.4.1
- Replaced deprecated
declaration-block-properties-orderrule withorder/declaration-block-properties-alphabetical-orderrule - Replaced deprecated
rule-nested-empty-line-beforerule withrule-empty-line-beforerule - Replaced deprecated
rule-non-nested-empty-line-beforerule withrule-empty-line-beforerule
stylelint-disable-reasonrule. 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-afterrulescss/dollar-variable-colon-space-beforerule
- Bumped up
stylelintto v7.1.0 - Bumped up
stylelint-scssto v1.3.4
stylelint-disable-reasonruleproperty-no-unknownrulemedia-feature-parentheses-space-insideruleno-missing-end-of-source-newlinerule
- Bumped up
stylelintto v7.0.2 - Bumped up
stylelint-scssto v1.2.1
no-missing-eof-newlinerulefunction-calc-no-unspaced-operatorrule
function-parentheses-space-insiderulescss/at-import-partial-extension-blacklistruledeclaration-block-properties-orderruleselector-no-vendor-prefixrulemedia-feature-name-no-vendor-prefixruleat-rule-no-vendor-prefixrule
- Sorted stylelint rules alphabetically in config
max-nesting-depthrule 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-afterruleno-extra-semicolonsrulestring-no-newlinerule
- Initial release