Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@zendeskgarden/stylelint-config

zendeskgarden914Apache-2.022.0.0

Garden stylelint config

garden, stylelint, zendesk

readme

Garden stylelint Config npm version Build Status Dependency Status

:seedling: Garden is a design system for Zendesk

This package exposes a shareable stylelint config.

Installation

npm install --save-dev stylelint stylelint-order @zendeskgarden/stylelint-config

Usage

Add a .stylelintrc to your project with an extends property like this:

{
  "extends": "@zendeskgarden/stylelint-config"
}

Now the Zendesk Garden rules will apply to your project. See the stylelint Documentation for more details on extending shareable configuration files.

Contribution

Thanks for your interest in Garden! Community involvement helps make our design system fresh and tasty for everyone.

Got issues with what you find here? Please feel free to create an issue.

If you'd like to take a crack at making some changes, please follow our contributing documentation for details needed to submit a PR.

Community behavior is benevolently ruled by a code of conduct. Please participate accordingly.

License

Copyright 2021 Zendesk

Licensed under the Apache License, Version 2.0

changelog

Changelog

All notable changes to this project will be documented in this file. See standard-version for commit guidelines.

22.0.0 (2024-07-11)

⚠ BREAKING CHANGES

  • deps: rule alignment with stylelint 16.4.0 and configured to reportNeedlessDisables

  • deps: update all non-major dependencies (#265) (2de6c97)

21.0.0 (2024-01-19)

⚠ BREAKING CHANGES

  • deps: requires stylelint-order@^6.1.0 peer dependency

  • add lightness-notation rule

  • deps: update all non-major dependencies (#254) (4c521ef)

20.0.0 (2023-07-17)

⚠ BREAKING CHANGES

  • deps: requires stylelint-order@^6.0.0 peer dependency
  • deps: remove deprecated rules.

Added:

  • import-notation
  • media-feature-name-allowed-list
  • media-feature-name-unit-allowed-list
  • media-feature-range-notation
  • no-unknown-custom-properties
  • annotation-no-unknown
  • declaration-property-value-no-unknown
  • keyframe-block-no-duplicate-selectors
  • keyframe-selector-notation
  • media-query-no-invalid
  • no-unknown-animations
  • selector-anb-no-unmatchable
  • media-feature-name-no-unknown
  • media-feature-name-value-no-unknown

  • deps: update dependency stylelint to v15 (#243) (fa45061)

  • deps: update dependency stylelint-order to v6 (#244) (9e081b9)

19.0.0 (2022-04-26)

⚠ BREAKING CHANGES

  • stylelint: add declaration-property-max-values and selector-not-notation rules

  • Add declaration-property-max-values

  • Add selector-not-notation

Features

  • stylelint: add declaration-property-max-values and selector-not-notation rules (7a4626a)

18.0.0 (2022-03-04)

⚠ BREAKING CHANGES

  • deps: update to eslint v8.10.0 and stylelint v14.5.3

  • Added function-no-unknown rule

  • Added font-family-name-quotes rule

  • deps: update all non-major dependencies (#232) (7038f49)

17.0.0 (2021-11-05)

⚠ BREAKING CHANGES

  • deps: update to stylelint v14.0.0 and stylelint-order v5.0.0

  • Add color-hex-alpha

  • Add custom-property-no-missing-var-function
  • Remove function-calc-no-invalid

Co-authored-by: Renovate Bot bot@renovateapp.com Co-authored-by: Jonathan Zempel jzempel@gmail.com

  • deps: update dependency stylelint to v14 (#221) (65b1a7a)

16.0.1 (2021-03-30)

Bug Fixes

  • prevent husky from running on postinstall (#193) (a5e794d)

16.0.0 (2021-03-10)

⚠ BREAKING CHANGES

  • deps: stylelint v13.12.0 peer dependency

Co-authored-by: Renovate Bot bot@renovateapp.com Co-authored-by: Jonathan Zempel jzempel@gmail.com

  • deps: update all non-major dependencies (#191) (d11a027)

15.0.0 (2020-11-30)

14.0.0 (2020-09-02)

⚠ BREAKING CHANGES

  • deps: deprecated *-blacklist, *-requirelist and *-whitelist rules in favor of the new *-disallowed-list, *-required-list and *-allowed-list ones

Co-authored-by: Renovate Bot bot@renovateapp.com Co-authored-by: hzhu hz@henryzhu.me Co-authored-by: Jonathan Zempel jzempel@gmail.com

  • deps: update all non-major dependencies (#171) (588d362)

13.0.0 (2020-05-20)

⚠ BREAKING CHANGES

  • deps: update dependency stylelint to v13.5.0 (#151)

Bug Fixes

  • use default CircleCI node_modules cache (#139) (5d31027)
  • deps: update dependency stylelint to v13.5.0 (#151) (07e9921)

12.0.1 (2020-01-13)

12.0.0 (2019-11-18)

⚠ BREAKING CHANGES

  • deps: stylelint v12 peer dependency

  • deps: update dependency stylelint to v12 (#121) (2a89213)

11.0.0 (2019-09-17)

⚠ BREAKING CHANGES

  • deps: add new unicode-bom rule which requires stylelint v11.

  • deps: update dependency stylelint to v11 (#113) (76633d5)

10.0.0 (2019-04-23)

chore

  • deps: update dependency stylelint-order to v3 (#79) (eca2656)

BREAKING CHANGES

  • deps: stylelint ^10.0.0 is now required.

9.2.0 (2019-04-16)

Features

  • update dependency stylelint to v10 (#78) (f32c0c4)

9.1.0 (2019-01-23)

Features

  • upgrade to support stylelint 9.10.x (#61) (1ee5f33)

9.0.9 (2018-11-30)

9.0.8 (2018-11-14)

9.0.7 (2018-10-30)

9.0.6 (2018-10-16)

Bug Fixes

  • update peerDependencies with stylelint 9.6.x (#44) (191b8d2)

9.0.5 (2018-09-04)

9.0.4 (2018-08-21)

9.0.3 (2018-08-14)

9.0.2 (2018-08-13)

9.0.1 (2018-08-06)

9.0.0 (2018-08-06)

Features

  • upgrade to support stylelint 9.4.x (#19) (f898410)

BREAKING CHANGES

  • existing CSS linting will fail if:
  • keyframe names don't start with zd-.
  • non-Unix linebreaks are used.

8.1.1 (2018-06-12)

Bug Fixes

  • disable selector-max-pseudo-class rule (#17) (d386505)

8.1.0 (2018-06-12)

Features

  • update to support stylelint 9.2.1 (#16) (94188d7)

8.0.2 (2018-03-21)

Bug Fixes

8.0.1 (2018-03-19)

Bug Fixes

  • remove "package registry" docs from README (#14) (87bbb59)

8.0.0 (2018-03-19)

Features

BREAKING CHANGES

  • package location has moved to the npm registry under @zendeskgarden/stylelint-config. See the README for installation/upgrade details.

7.0.0 (2018-02-21)

Features

  • upgrade to support stylelint 9.x (#11) (10ca8e3)

BREAKING CHANGES

  • upgraded to extend stylelint 9.1.x and stylelint-order 0.8.x.

6.0.0 - 2017-11-16

Changed (per #10)

  • Upgraded to extend stylelint 8.2.x and stylelint-order 0.7.x.

5.1.0 - 2017-07-10

Changed (per #9)

  • Upgraded to extend stylelint 7.12.x and stylelint-order 0.5.x.

5.0.0 - 2017-05-26

Changed (per #8)

  • Prepared package for registry publish as @zendesk/garden-stylelint-config. See README for updated installation and usage.
  • Update stylelint peer dependency to version 7.10.x.
  • Update stylint-order peer dependency to version 0.4.x.

4.1.0 - 2017-02-21

Removed (per #7)

  • Rules deprecated by stylelint 7.9.x.
  • Order of block properties now handled by stylelint-order package.

4.0.0 - 2016-09-15

Changed (per #6)

  • Upgraded to extend stylelint 7.x.

3.0.0 - 2016-07-06

Changed (per #5)

  • Upgraded to extend stylelint 6.x.

2.0.0 - 2016-03-23

Changed (per #4)

  • Upgraded to extend stylelint 5.x.

1.0.0 - 2015-12-16

Changed (per #1)

  • Upgraded to extend stylelint 3.x.

0.1.0 - 2015-10-19