Skip to content

Releases: bjankord/stylelint-config-sass-guidelines

v12.1.0

14 Sep 14:16
Compare
Choose a tag to compare

Changed

  • 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

v12.0.0

12 Jul 01:04
Compare
Choose a tag to compare

Full list of changes can be viewed here

Added

  • 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

v11.1.0

12 Mar 01:05
Compare
Choose a tag to compare

Changed

  • Replaced deprecated scss/at-import-partial-extension-blacklist with scss/at-import-partial-extension-disallowed-list rule. PR
  • Modernized unit test to use node:test. PR
  • Minor depedency updates

Full list of changes: v11.0.0...v11.1.0

v11.0.0

31 Dec 13:06
Compare
Choose a tag to compare

Changed

  • 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

  • Removed Node.js less than 18.12.0 support

v10.0.0

31 Dec 12:37
Compare
Choose a tag to compare

Changed

  • Updated package to be compatible with stylelint v15

Added

  • Added node 18 to automated test matrix
  • Added scss/no-global-function-names rule. Resolves #268

Removed

  • 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

v9.0.1

31 Oct 01:49
Compare
Choose a tag to compare

Changed

  • Add postcss ^8.3.3 as a peerDependency. Mitigates #203

v9.0.0

30 Oct 13:34
Compare
Choose a tag to compare

Changed

  • 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 .jsto .spec.js
  • Moved manually tested passing and failing SCSS examples into __tests__/manual-test-cases

Added

  • Added node 16 to automated test matrix

Removed

  • 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

v8.0.0

11 Feb 13:56
Compare
Choose a tag to compare

Added

  • Set Node engine minimum to version 10.0.0
  • Added Node 14 to automated test matrix

Removed

  • Dropped official support for Node 8
  • Removed Node 8 from automated test matrix

v7.1.0

02 Sep 03:04
Compare
Choose a tag to compare

Changed

  • Add dependabot integration to help with keeping dependencies up to date and secure
  • Bumped up stylelint peer/dev dependency to v13.7.0

Fixed

  • Replaced deprecated at-rule-blacklist rule with at-rule-disallowed-list rule
  • Replaced deprecated declaration-property-value-blacklist rule with declaration-property-value-disallowed-list rule

Removed

  • 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

v7.0.0

31 Jan 17:08
Compare
Choose a tag to compare

Changed

  • 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