Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid value for background does not throw error #769

Open
Pranomvignesh opened this issue Jul 13, 2020 · 0 comments
Open

Invalid value for background does not throw error #769

Pranomvignesh opened this issue Jul 13, 2020 · 0 comments

Comments

@Pranomvignesh
Copy link

I am using csslint npm package -v1.0.5
This is my test code .

var csslint = require("csslint");
var linted = csslint.CSSLint.verify(`
.sample{
    background:efwf;
}
`);
console.log(linted.messages)

Output :

[]

I have tried this in csslint website
Screen Shot 2020-07-13 at 6 28 24 PM

When i tried the same in https://jigsaw.w3.org/css-validator/validator, I am getting expected results.

Screen Shot 2020-07-13 at 6 28 54 PM

Do i have to configure something in csslint to achieve the same as i expect ? Correct me if i am wrong.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant