validator
validator copied to clipboard
CSS validator based on CSSTree
This moves to using `enhanced-resolve` for resolving reporters in the CLI. Primarily because it is more up to date with the node resolution algorithm, but seems we dropped a few...
I have installed `"csstree-validator": "^3.0.0",` version and imported in react application `import { validate } from 'csstree-validator';` Trying to run it but getting following error `Attempted import error: 'validate' is...
CSStree-validator flags errors on usage of max() and min() on font-sizes and widths. Could you please explain why?
1. fix module import 2. fix build on win system
Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap) from 1.2.3 to 1.2.4. Release notes Sourced from word-wrap's releases. 1.2.4 What's Changed Remove default indent by @mohd-akram in jonschlinkert/word-wrap#24 🔒fix: CVE 2023 26115 (2) by @OlafConijn in...
It seems that using `clamp()` as a value in both `height` and `font-size` both fail validation. This is likely a problem with `clamp()` across all properties. Specifically, I'm using the...
currently, when using cascade layers, the csstree-validator extension shows this error: ``` [CSSTree] Unknown at-rule `@layer` ``` `@layer` has been supported in all modern browsers for about a year now,...
https://www.w3.org/TR/css-syntax-3/#ident-token-diagram Currently, no error is raised: ```js > (await import("csstree-validator")).validate('1n {color: red}') [] ```
https://developer.mozilla.org/en-US/docs/Web/CSS/color_value/color-mix I'm getting an error. ``` * Invalid value for `background-color` property syntax: value: color-mix(in srgb, currentColor 20%, transparent) --------^ ```
csstree validator marks browser prefix properties values as invalid : An example : ``` # target/webapp-compress/css/main.css * Invalid value for `display` property syntax: [ || ] | | | |...