Skip to content

Commit

Permalink
Dropped rule: unit-disallowed-list, allow rem units from now on. (#…
Browse files Browse the repository at this point in the history
…215)

We no longer support browsers that don't understand rems at all.

Related to #98
  • Loading branch information
jdforrester authored Jul 11, 2023
1 parent 2dd4e01 commit 02ba996
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,6 @@ module.exports = {

"time-min-milliseconds": 100,

"unit-disallowed-list": "rem",
"unit-case": "lower",

"value-keyword-case": "lower",
Expand Down
2 changes: 1 addition & 1 deletion test/fixtures/default/invalid.css
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ unknown {
b";
/* stylelint-disable-next-line time-min-milliseconds */
animation: 80ms;
/* stylelint-disable-next-line unit-disallowed-list, unit-case */
/* stylelint-disable-next-line unit-case */
top: 1REM;
/* stylelint-disable-next-line value-keyword-case */
display: BLOCK;
Expand Down

0 comments on commit 02ba996

Please sign in to comment.