Closed szepeviktor closed 7 years ago
@szepeviktor , no. There's no information on that given to csslint from parser-lib. Maybe a crawler-bot can help you find 404s.
Thank you.
Is there a way to list urls in url()
-s and @import
-s?
@szepeviktor , Parserlib apparently does gives some info, for example for @import
, see https://github.com/CSSLint/parser-lib/blob/master/src/css/Parser.js#L286 . You should be able to create a rule that then subsequently does a curl to check if the URL exists.
Thank you.
Would it be possible to detect
url()
and@import
non-existent files with relative path?