The Wayback Machine - https://web.archive.org/web/20210403175637/https://github.com/topics/scss
Skip to content
#

scss

sass logo

Sass is a stylesheet language with a main implementation in Ruby. It is an extension of CSS that makes improvements to the old stylesheet format, such as being able to declare variables and using a cleaner nesting syntax.

Here are 10,673 public repositories matching this topic...

stylelint
tomyo
tomyo commented Mar 19, 2021

Clearly describe the bug
The rule length-zero-no-unit is applying fixes inside level 4 math functions.

This test exercises exactly what it shouldn't happen:

https://github.com/tomyo/stylelint/blob/eb419ef754ac442f9f3b9f7164fccb938b99adb3/lib/rules/length-zero-no-unit/__tests__/index.js#L332

Why?
It converts this:

padding: calc(var(--foo, 0px) + 10px);

Into this:

Created by Hampton Catlin, Natalie Weizenbaum, Chris Eppstein

Released November 28, 2006

Latest release about 5 years ago

Repository
sass/sass
Website
sass-lang.com
Wikipedia
Wikipedia