diff options
| author | Armand Philippot <git@armandphilippot.com> | 2022-01-08 18:50:48 +0100 |
|---|---|---|
| committer | Armand Philippot <git@armandphilippot.com> | 2022-01-08 18:50:48 +0100 |
| commit | a223182e64e9dba8a79e0661c4e3bbdf453c515d (patch) | |
| tree | 775ac0782f22a2030b6184d8680dfb5dd50b1444 /.stylelintrc.json | |
| parent | 4e878aab112b08a18f7285bbb0df1f20d38ee9cf (diff) | |
build(stylelint): allow zero with unit for custom properties
A custom property with a value of zero needs an unit to be used inside
calc function.
Diffstat (limited to '.stylelintrc.json')
| -rw-r--r-- | .stylelintrc.json | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/.stylelintrc.json b/.stylelintrc.json index 4263e95..a41f98d 100644 --- a/.stylelintrc.json +++ b/.stylelintrc.json @@ -16,6 +16,7 @@ "indentInsideParens": "twice" } ], + "length-zero-no-unit": [true, { "ignore": ["custom-properties"] }], "max-line-length": [ 80, { |
