Skip to content

Commit

Permalink
fix: don't code after midnight kids
Browse files Browse the repository at this point in the history
  • Loading branch information
uncenter committed Nov 18, 2024
1 parent 7db158e commit e76c7dd
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions scripts/lint/stylelint-custom/color-op-func-percentage.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,6 @@ const ruleFunction = (primary, _secondary, context) => {
let num = value;
if (value.includes(".")) {
num = Number.parseFloat(value);
if (num < 0) {
num *= 100;
}
}

if (context.fix) {
Expand Down

0 comments on commit e76c7dd

Please sign in to comment.