If @skyscanner/eslint-config-skyscanner
has a major version change then @skyscanner/stylelint-config-skyscanner
should also have a major version change, as explained in the docs
This file remains for historical references, but all new releases are now documented in the package's Releases page.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
- Update @skyscanner/eslint-config-skyscanner to v15.0.0
This triggers a major version bump of @skyscanner/stylelint-config-skyscanner due to https://github.com/Skyscanner/stylelint-config-skyscanner/blob/main/docs/eslint-as-dependency.md.
No changes are expected to CSS linting.
- Update @skyscanner/eslint-config-skyscanner to v14.0.0
This triggers a major version bump of @skyscanner/stylelint-config-skyscanner due to https://github.com/Skyscanner/stylelint-config-skyscanner/blob/main/docs/eslint-as-dependency.md.
No changes are expected to CSS linting.
- Bump jest from 27.5.1 to 29.4.3
- Bump minimatch from 3.0.4 to 3.1.2 (security vulnerability)
- Bump husky from 7.0.4 to 8.0.3
- Bump lint-staged from 12.3.8 to 13.1.2
- Bump stylelint-declaration-strict-value from 1.8.0 to 1.9.2
- Bump stylelint-order from 5.0.0 to 6.0.2
- Bump stylelint-scss from 4.1.0 to 4.4.0
- Bump stylelint from 14.3.0 to 14.16.1
- Bump @skyscanner/eslint-config-skyscanner from 12.6.1 to 13.1.0
- Bump stylelint-config-prettier from 9.0.3 to 9.0.4
- Bump json5 from 1.0.1 to 1.0.2 (security bump)
As @skyscanner/eslint-config-skyscanner
is shipped as dependency
then this may cause JavaScript linting changes in your project as a side effect if you have not already updated. If that is the case it is the recommendation to first update @skyscanner/eslint-config-skyscanner
and follow its release notes.
- Bump @skyscanner/eslint-config-skyscanner from 12.6.1 to 13.1.0
- Bump stylelint-config-prettier from 9.0.3 to 9.0.4
- Bump json5 from 1.0.1 to 1.0.2 (security bump)
This version was incorrectly released as a minor bump, when the side effect of the @skyscanner/eslint-config-skyscanner
bump to consumers justified it being a major bump. It has been marked as deprecated in npm, and version 7.0.0
should be used instead as soon as it is published.
- Update
@skyscanner/stylelint-plugin-backpack
and@skyscanner/eslint-config-skyscanner
- Update from Node
^16.13.0
to>=16.13.0
to allow versions higher than 16
- Drops support for Node versions < 16. No new functionality is introduced, but from this point forwards it should not be assumed Node 12 will work.
- Bumped
stylelint-plugin-backpack
to latest
- Corrected install of
@skyscanner/stylelint-plugin-backpack
todependencies
instead ofdevDependencies
.
- Install
@skyscanner/stylelint-plugin-backpack
and enableuse-typography-styles
rule as warning to encourage the use of Backpack typography styles
- Allow using
currentcolor
keyword.
- Bump stylelint from 14.2.0 to 14.3.0
- Migrate from
eslint-config-skyscanner
to@skyscanner/eslint-config-skyscanner
- Bump lint-staged from 12.1.4 to 12.1.7
- Bump jest from 27.4.5 to 27.4.7
- Bump
stylelint
from14.1.0
to14.2.0
- Bump
stylelint-scss
from4.0.0
to4.1.0
- Bump
lint-staged
from11.2.6
to12.1.4
- Bump
jest
from27.0.4
to27.4.5
There are two main changes:
- Published under the
@skyscanner/
scope - Upgrade from
stylelint
v13
tov14
, and therefore bumping all dependencies tov14
compatible versions.
A migration guide has been added.
- Bump
stylelint
from13.13.1
to14.1.0
- Bump
stylelint-config-prettier
from8.0.2
to9.0.3
- Bump
stylelint-order
from4.1.0
to5.0.0
- Bump
stylelint-prettier
from1.2.0
to2.0.0
- Bump
stylelint-declaration-strict-value
from1.7.12
to1.8.0
- Bump
eslint-config-skyscanner
from9.0.1
to10.2.0
- Uninstall
stylelint-config-standard
- Uninstall
@skyscanner/stylelint-plugin-backpack
- Install
stylelint-config-standard-scss
from3.0.0
- Bump
stylelint-scss
from3.20.1
to4.0.0
- Upgraded
eslint-config-skyscanner
from8.1.0
to9.0.1
- Brings the following breaking changes:
eslint-config-skyscanner
CHANGELOG
- Brings the following breaking changes:
- Upgraded
eslint-config-skyscanner
from8.0.2
to8.1.0
- Upgraded
stylelint
from13.8.0
to13.13.0
- Upgraded
stylelint-config-standard
from20.0.0
to21.0.0
- Upgraded
stylelint-declaration-strict-value
from1.7.9
to1.7.12
- Upgraded
stylelint-prettier
from1.1.2
to1.2.0
- Upgraded
stylelint-scss
from3.18.0
to3.19.0
- Temporarily disabled Backpack due to false positive reports.
- Upgraded
stylelint-declaration-strict-value
to1.7.0
- Upgraded
stylelint-plugin-backpack
to latest version
- Upgraded
stylelint-plugin-backpack
to latest version.
- Upgraded
stylelint-plugin-backpack
to latest version that includes a fix for linting multiples of tokens.
- Replace
unit-blacklist
withunit-disallowed-list
.unit-blacklist
was deprecated in stylelint v13.7.0.
- Upgraded dependency:
stylelint-plugin-backpack
to1.1.0
- Adds new
backpack/use-colors
andbackpack/use-tokens
rules
- Adds new
eslint-config-skyscanner
to8.0.0
- Upgraded dependencies:
stylelint
to13.6.1
stylelint-config-prettier
to8.0.2
stylelint-scss
to3.18.0
- Upgraded dependencies:
stylelint
to13.6.0
stylelint-order
to4.1.0
stylelint-declaration-strict-value
to1.5.0
- Added
prettier
as dependency
- Upgraded dependencies:
stylelint
to13.3.3
stylelint-declaration-strict-value
to1.4.3
stylelint-scss
to3.17.2
- Integrated Prettier. Please, note that
stylefmt
recommends using other tools to fix formatting issues (see their readme), asstylelint
already added the--fix
flag. It is recommended to usestylelint --fix
to format the code (specially now that Prettier has been integrated).
- Upgraded Node 8 (lts/carbon) to Node 12 (lts/erbium).
- Moved
peerDependencies
intodependencies
. - Upgraded dependencies:
stylelint
to^13.2.0
.stylelint-config-standard
to^20.0.0
.stylelint-order
to^4.0.0
.
- Upgraded
stylelint
peerDependency to^11.0.0
- Upgraded dependencies:
babel-eslint
to^10.0.3
eslint
to^5.16.0
eslint
to^6.5.1
eslint-config-airbnb
to^17.1.0
eslint-config-airbnb
to^18.0.1
eslint-plugin-import
to^2.18.2
eslint-plugin-jsx-a11y
to^6.2.3
eslint-plugin-react
to^7.16.0
jest
to^24.9.0
stylelint
to^11.0.0
stylelint-config-standard
to^19.0.0
stylelint-declaration-strict-value
to^1.1.6
stylelint-order
to^3.1.1
stylelint-scss
to^3.11.1
- Upgraded
stylelint
peerDependency to^10.1.0
- Disabled
no-descending-specificity
rule
- Upgraded
stylelint
peerDependency to^9.1.1
- Upgraded dependencies:
stylelint-config-standard
to18.1.0
stylelint-order
to^0.8.1
stylelint-scss
to^2.4.0
- Relaxed semver range for
stylelint
peer dependency from~8.0.0
to^8.0.0
- Upgraded
stylelint-scss
from1.5.1
to^2.1.0
- Upgraded
stylelint-order
from0.6.0
to"^0.7.0
- Flex and grid rules to
order/order
rule - Added
selector-max-type
as warning (for now) to prevent interference between stylesheets - Allow
@else
and@else if
SCSS rules to be on same line as@if
closing bracket - Styleguide!
selector-no-id
rules replaced by functionally identicalselector-max-id
- Updated dependencies and peerDependencies:
stylelint
to8.0.0
stylelint-scss
to1.5.1
stylelint-order
to0.6.0
stylelint-declaration-strict-value
to1.0.4
- Fixed links in messages for
selector-class-pattern
andscss/at-mixin-pattern
- Added tests
- Added message to
selector-class-pattern
andscss/at-mixin-pattern
- Upgraded
stylelint-order
andstylelint-scss
to fix downstream bugs
at-rule-no-vendor-prefix
,media-feature-name-no-vendor-prefix
,property-no-vendor-prefix
,selector-no-vendor-prefix
,value-no-vendor-prefix
to encourage Autoprefixer usagestring-quotes
,selector-attribute-quotes
,font-family-name-quotes
to standardise string usageunspecified: 'bottomAlphabetical'
toorder/properties-order
rule
scss/at-mixin-pattern
changed to include some valid edge cases
- Regex for
scss/at-function-pattern
,scss/at-mixin-pattern
,scss/dollar-variable-pattern
, andscss/percent-placeholder-pattern
now works as intended
scss/at-function-pattern
,scss/at-mixin-pattern
,scss/dollar-variable-pattern
, andscss/percent-placeholder-pattern
updated to use the same kebab case regex as class names
scss/operator-no-newline-before
as it clashed withscss/operator-no-newline-after
- Initial config based on
stylelint-config-standard