Skip to content

Releases: Skyscanner/stylelint-config-skyscanner

14.2.0

29 Jul 07:09
f88022d
Compare
Choose a tag to compare

What’s Changed

Dependency updates

14.1.0

21 Jul 15:47
d122056
Compare
Choose a tag to compare

What’s Changed

Added

  • Set load-partial-extension rule to never (#387) @anambl

Previously in v14 we had set load-partial-extension to always which required extensions to be added to imports of style files.

This change does the opposite of the change in v14, so now instead you may need to do the following:

// Before

@import 'styles.scss'
// or 
@use 'styles.scss'

// After

@import 'styles'
// or
@use 'styles'

This change is autofixable by passing the --fix command when when running your linting and will automatically update and align your imports

14.0.0

01 Jul 11:37
c848dbe
Compare
Choose a tag to compare

What’s Changed

Breaking

  • [LOOM-1906]: Stylelint 16 upgrade (#386) @olliecurtis
    • Upgrades stylelint to v16
    • Associated major bumps which drop support for Stylelint versions lower than v16
    • Converts to support ESM
    • Upgrades to minimum v22 Node version
    • Replaces rule scss/at-import-partial-extension with scss/load-partial-extension with same triggering.
      • This may now cause an increase in errors in projects (although you maybe ok from the previous rule as it works in the exact same way) as it looks to fix some issues the old rule was not reporting/false positives. If you do get errors with this version, to fix this, you will simply need to update any SCSS @import or @use to include the file extension
      // Before
      
      @import 'styles'
      // or 
      @use 'styles'
      
      // After
      
      @import 'styles.scss'
      // or
      @use 'styles.scss'
      
    • A number of rules that were deprecated have been removed in Stylelint 16. If you override or have custom rules in your stylelintrc file, check if they are in this deprecated rules list and ensure you remove them as they will no longer function as expected

13.1.0

19 Jun 10:37
0f13f52
Compare
Choose a tag to compare

What’s Changed

Dependency updates

13.0.0

18 Apr 19:14
eee2606
Compare
Choose a tag to compare

What’s Changed

Breaking

  • Bump @skyscanner/eslint-config-skyscanner from 20.0.0 to 21.0.0 (#372) @dependabot

This is not expected to be a breaking change for the majority of consumers, but major versions of ECS mean a new major version of SCS must be released, as consumers resolve nested dependencies based on it.

No side effects are expected in this specific release.

https://github.com/Skyscanner/stylelint-config-skyscanner/blob/eee260648539da5edfd869cc6ff518264db5a9d1/docs/eslint-as-dependency.md

12.2.1

20 Mar 09:21
7d4cd60
Compare
Choose a tag to compare

What’s Changed

  • Update to actions/cache v4.2.0 #369

12.2.0

19 Mar 23:29
3727f77
Compare
Choose a tag to compare

What’s Changed

Normally a major version of eslint-config-skyscanner would trigger a major version of stylelint-config-skyscanner:
https://github.com/Skyscanner/stylelint-config-skyscanner/blob/main/docs/eslint-as-dependency.md

However in this case we're jumping from 18 -> 20, where 19 was a new change, and 20 reverted that change, so 20 is essentially back to what 18 was. This means no new major of stylelint-config-skyscanner is required.

https://github.com/Skyscanner/eslint-config-skyscanner/releases

Dependency updates

12.1.0

05 Mar 14:24
6435b26
Compare
Choose a tag to compare

What’s Changed

Added

  • LOOM-1904 - Implement stylelint check unsupported CSS usage by browser (#362) @jronald01

12.0.0

07 Jan 12:19
eff013c
Compare
Choose a tag to compare

What’s Changed

Breaking

  • Bump @skyscanner/eslint-config-skyscanner from 17.4.0 to 18.3.0 (#348) @dependabot

https://github.com/Skyscanner/stylelint-config-skyscanner/blob/main/docs/eslint-as-dependency.md

Added

Fixed

11.1.0

10 Jan 16:25
8e41635
Compare
Choose a tag to compare

What’s Changed

Added