How webstorm css code customizes the warning information of W3C validator

because the project needs, when writing css, you don"t need to write units, just write numbers, but W3C"s rule stipulates that all units need to be written except 0, so webstorm will give a warning.

(the following line-hight is deliberately misspelled)

clipboard.png
]

w3c css validator

clipboard.png

line-hight

clipboard.png

is there any way to ignore only part of the validator? Do I need to use stylelint?

Apr.09,2021

found. You can set different checksum warnings separately in invalid elements .

clipboard.png

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b36d9e-2c04d.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b36d9e-2c04d.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?