Skip to content

Commit

Permalink
Allow units at zero length
Browse files Browse the repository at this point in the history
  • Loading branch information
firefoxic committed May 15, 2024
1 parent c1f90ae commit 0770fbf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 11 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com), and 

## [Unreleased]

### Fixed

- Zero length value no longer requires no units in all cases.

## [1.0.0] — 2024–05–07

### Added
Expand Down
11 changes: 0 additions & 11 deletions stylelint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,17 +51,6 @@ export default {
"keyframe-block-no-duplicate-selectors": true,
"keyframe-declaration-no-important": true,
"keyframe-selector-notation": `percentage-unless-within-keyword-only-block`,
"length-zero-no-unit": [
true,
{
ignore: [`custom-properties`],
ignoreFunctions: [
`calc`,
`var`,
`/^--/`,
],
},
],
"max-nesting-depth": [
2,
{
Expand Down

0 comments on commit 0770fbf

Please sign in to comment.