Releases: Skyscanner/stylelint-config-skyscanner
14.2.0
What’s Changed
Dependency updates
- Bump stylelint from 16.21.0 to 16.22.0 (#393) @dependabot
- Bump @skyscanner/eslint-config-skyscanner from 22.3.1 to 22.5.0 (#392) @dependabot
14.1.0
What’s Changed
Added
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
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
withscss/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'
- 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
- 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
What’s Changed
Dependency updates
- Bump @skyscanner/eslint-config-skyscanner from 22.1.0 to 22.2.1 (#382) @dependabot
- Bump jest from 29.7.0 to 30.0.0 (#383) @dependabot
- Bump lint-staged from 16.0.0 to 16.1.0 (#380) @dependabot
- Bump lint-staged from 15.5.0 to 16.0.0 (#377) @dependabot
- Bump @skyscanner/eslint-config-skyscanner from 21.0.0 to 22.1.0 (#379) @dependabot
13.0.0
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.
12.2.1
12.2.0
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
- Bump lint-staged from 15.3.0 to 15.5.0 (#366) @dependabot
- Bump @babel/helpers from 7.26.7 to 7.26.10 (#368) @dependabot
- Bump @skyscanner/eslint-config-skyscanner from 18.3.0 to 20.0.0 (#359) @dependabot
12.1.0
What’s Changed
Added
- LOOM-1904 - Implement stylelint check unsupported CSS usage by browser (#362) @jronald01
12.0.0
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
- Bump lint-staged to 15.3.0 (#349) @dependabot
- Bump husky from 9.0.11 to 9.1.5 (#344) @dependabot
- Bump stylelint-declaration-strict-value from 1.9.2 to 1.10.4 (#326) @dependabot
Fixed
- Bump nanoid from 3.3.7 to 3.3.8 (#347) @dependabot
- Bump braces from 3.0.2 to 3.0.3 (#337) @dependabot
11.1.0
What’s Changed
Added
- Replaced depreacted at-import-no-partial-leading-underscore (#327) @adammccullagh