Stylelint plugin
Stylelint plugin for use with the Atlassian Design System.5.1.2
Patch Changes
- Updated dependencies
5.1.1
Patch Changes
- Updated dependencies
5.1.0
Minor Changes
bd2c5b0112185, (opens new window) - Remove stale API report artifacts from published Platform packages.
Patch Changes
- Updated dependencies
5.0.2
Patch Changes
- Updated dependencies
5.0.1
Patch Changes
- Updated dependencies
5.0.0
Major Changes
-
f2dc9097319f0, (opens new window) - ### Dropped support for legacy Typescript 4 types. Typescript 5 is now the new minimum.Removes the
typesVersionsproperty anddist/types-ts4.5directory from the dist.Types are now exclusively via the
"types": "dist/types/index.d.ts"property.- "typesVersions": { - ">=4.5 <4.9": { - "*": [ - "dist/types-ts4.5/*", - "dist/types-ts4.5/index.d.ts" - ] - } - },
Patch Changes
- Updated dependencies
4.1.11
Patch Changes
- Updated dependencies
4.1.10
Patch Changes
- Updated dependencies
4.1.9
Patch Changes
58305ddfbf37f, (opens new window) - Add stylelint 17 to the supported peerDependencies- Updated dependencies
4.1.8
Patch Changes
- Updated dependencies
4.1.7
Patch Changes
- Updated dependencies
4.1.6
Patch Changes
- Updated dependencies
4.1.5
Patch Changes
a60a82196851a, (opens new window) - Internal refactors to remove unused variables. No functional or public changes.- Updated dependencies
4.1.4
Patch Changes
- Updated dependencies
4.1.3
Patch Changes
- Updated dependencies
4.1.2
Patch Changes
437668dfbdec9, (opens new window) - Add explicit types to a number of DST components- Updated dependencies
4.1.1
Patch Changes
- Updated dependencies
4.1.0
Minor Changes
- #186090, (opens new window)
3162f2036ddae, (opens new window) - Add auto-fix logic for spacing values that map to spacing tokens
4.0.0
Major Changes
- #182157, (opens new window)
8ba1b0f09a5be, (opens new window) - Changes the way the package exports rules such that it works across cjs/esm in newer versions of stylelint. Please see the following issue for more information https://github.com/stylelint/stylelint/issues/8573#issuecomment-2982939797, (opens new window)
3.0.0
Major Changes
- #181734, (opens new window)
a6f029cfca2dc, (opens new window) - Changes the way the package exports rules such that it works across cjs/esm in newer versions of stylelint. Please see the following issue for more information https://github.com/stylelint/stylelint/issues/8573#issuecomment-2982939797, (opens new window)
2.2.3
Patch Changes
- #168399, (opens new window)
b3cac034560a4, (opens new window) - Reverts export scheme change. now uses default exports again
2.2.2
Patch Changes
- Updated dependencies
2.2.1
Patch Changes
- #152787, (opens new window)
4fd08b0087828, (opens new window) - Updates internal import structure to avoid a bug in stylelint v16
2.2.0
Minor Changes
- #150219, (opens new window)
6746314317a26, (opens new window) - Bumps stylelint to v15
2.1.9
Patch Changes
- Updated dependencies
2.1.8
Patch Changes
- #103999, (opens new window)
9f62ecec4d422, (opens new window) - Update dependencies.
2.1.7
Patch Changes
- Updated dependencies
2.1.6
Patch Changes
- #165531, (opens new window)
57f451bda8919, (opens new window) - Adds side-effect config to support Compiled css extraction in third-party apps
2.1.5
Patch Changes
- Updated dependencies
2.1.4
Patch Changes
- #120049, (opens new window)
77504ff274f72, (opens new window) - DSP-19576: Assign names to anonymous default exports
2.1.3
Patch Changes
- #116025, (opens new window)
cd506a937e44f, (opens new window) - Internal change to how typography is applied. There should be no visual change.
2.1.2
Patch Changes
- #83116, (opens new window)
8d4e99057fe0, (opens new window) - Upgrade Typescript from4.9.5to5.4.2
2.1.1
Patch Changes
- #43718, (opens new window)
8aebcad547a, (opens new window) - Deprecated tokens are now warned against even when a replacement token has not been specified - Updated dependencies
2.1.0
Minor Changes
- #43258, (opens new window)
0004d49c240, (opens new window) - Adds a new argumentfallbackUsagewhich replacesshouldEnforceFallbacks. This new argument is an enum which represents the three possible states this rule can be configured with.forced: Fallbacks must always been in usenone: Fallbacks must never been in use. (Fixer will remove any value provided )optional: (new) Fallbacks are optional
2.0.0
Major Changes
- #42045, (opens new window)
57ed7946223, (opens new window) - Upgradestylelintfrom14.5.3to14.16.1
1.1.1
Patch Changes
- #41213, (opens new window)
f79c2dcb310, (opens new window) - Add CHANGELOG.md back to published files
1.1.0
Minor Changes
- #40796, (opens new window)
4a861e0b373, (opens new window) - Adds a new "nonTokenCssVariables" option to the ensure-design-token-usage stylelint rule's configuration. When this is enabled, it will disallow CSS variables that aren't design tokens. This is used to be the default behavior but needs to now be explicitly enabled with the new option.
1.0.3
Patch Changes
- #39774, (opens new window)
8ba9b8924c3, (opens new window) - Changes published files (allowlist)
1.0.2
Patch Changes
- #39733, (opens new window)
8f20e7f6031, (opens new window) - Stylelint is now enrolled into the product push model for Jira.
1.0.1
Patch Changes
- #38471, (opens new window)
4451f8e1747, (opens new window) - Register ts-node and enable direct consumption without precompiling
1.0.0
Major Changes
- #38972, (opens new window)
b175ec37c65, (opens new window) - Cuts the first major release of this package. It is now considered stable and ready for general adoption. This version contains no code changes.
0.5.0
Minor Changes
- #35762, (opens new window)
c92bc3601d1, (opens new window) - Add autofix to automatically add fallback values for token declarations missing fallbacks
0.4.3
Patch Changes
- #34443, (opens new window)
61cb5313358, (opens new window) - Removing unused dependencies and dev dependencies
0.4.2
Patch Changes
- #33793, (opens new window)
9d00501a414, (opens new window) - Ensure legacy types are published for TS 4.5-4.8
0.4.1
Patch Changes
- #33649, (opens new window)
41fae2c6f68, (opens new window) - Upgrade Typescript from4.5.5to4.9.5
0.4.0
Minor Changes
- #33258, (opens new window)
56507598609, (opens new window) - Skip minor dependency bump
Patch Changes
- Updated dependencies
0.3.16
Patch Changes
- Updated dependencies
0.3.15
Patch Changes
- #29211, (opens new window)
6944a4754db, (opens new window) - Updated error messages to include a link to further guidance.
0.3.14
Patch Changes
- Updated dependencies
0.3.13
Patch Changes
- Updated dependencies
0.3.12
Patch Changes
- #27650, (opens new window)
a09fcfdc702, (opens new window) - Adds support for typography tokens to ensure-design-token-usage rule.
0.3.11
Patch Changes
- Updated dependencies
0.3.10
Patch Changes
- #26132, (opens new window)
61a0cc155e2, (opens new window) - Augment design-sytem/ensure-design-token-usage rule to include spacing
0.3.9
Patch Changes
- #26303, (opens new window)
9827dcb82b8, (opens new window) - No-op change to introduce spacing tokens to design system components.
0.3.8
Patch Changes
- #24874, (opens new window)
8cc2f888c83, (opens new window) - Upgrade Typescript from4.3.5to4.5.5
0.3.7
Patch Changes
- #25233, (opens new window)
631207af050, (opens new window) - Manual bump of @atlaskit/tokens due to a bug with atlassian/changesets
0.3.6
Patch Changes
- #24492, (opens new window)
8d4228767b0, (opens new window) - Upgrade Typescript from4.2.4to4.3.5.
0.3.5
Patch Changes
-
#22198, (opens new window)
ec850b9fc2d, (opens new window) - Improves lint coverage by ensuring all css variables are wrapped in a design token at the callsite.For example, the following will now error:
color: var(--adg3-color-R75);and request that you wrap it in a token:
color: var(--ds-text-danger, var(--adg3-color-R75));In addition, named colors such as
red, white, violetwill now error.
0.3.4
Patch Changes
- Updated dependencies
0.3.3
Patch Changes
- #20650, (opens new window)
cb2392f6d33, (opens new window) - Upgrade to TypeScript 4.2.4
0.3.2
Patch Changes
- Updated dependencies
0.3.1
Patch Changes
- #20548, (opens new window)
578055b6cf2, (opens new window) - Fix dependency issue with@atlaskit/tokensrequiring minimum version ^0.8.1
0.3.0
Minor Changes
- #19900, (opens new window)
47d91601f23, (opens new window) - - 'no-deprecated-design-token-usage' rule now provides fix for deprecated tokens by replacing with the recommended token replacement- 'no-unsafe-design-token-usage' rule now provides fix for deleted tokens by replacing with the recommended token replacement
0.2.3
Patch Changes
- Updated dependencies
0.2.2
Patch Changes
- #19607, (opens new window)
541edde8e78, (opens new window) - Upgradestylelintfrom8.xto14.x
0.2.1
Patch Changes
- Updated dependencies
0.2.0
Minor Changes
- #19098, (opens new window)
04386dad0c2, (opens new window) - Addition of newno-deprecated-design-token-usagerule, which mirrors its eslint counterpart
0.1.3
Patch Changes
- Updated dependencies
0.1.2
Patch Changes
- #18248, (opens new window)
260878cb563, (opens new window) - The .npmignore file has been fixed, so that required files are no longer missing.
0.1.1
Patch Changes
- Updated dependencies
0.1.0
Minor Changes
- #17170, (opens new window)
0c6d6d29289, (opens new window) - Initial release introducingensure-design-token-usageandno-unsafe-design-token-usagerules, which mirror their eslint counterparts.