doiuse
doiuse copied to clipboard
:bomb: Lint CSS for browser support against caniuse database.
This PR improves the performance of `doiuse` in two ways, making it run 3-10 times faster: 1. Cache the result of `BrowserSelection.missingSupport()`, since compiling the list of missing features is...
https://developer.mozilla.org/en-US/docs/Web/CSS/@supports ``` @supports (content-visibility: hidden) { .foo { content-visibility: hidden; } } ``` This shouldn't report an error. Same also for e.g. `@supports (content-visibility: hidden) and (display: flex) {` Any...
Given a file with the following contents: ```css div { input { color: black; } } ``` The following problem happens ```bash doiuse --browsers "> 1%" test.css Error parsing file...
When i use CSS property grid-template-rows with value masonry, I would expect doiuse to warn about it, since it's not supported basically everywhere (see on [Caniuse DB](https://caniuse.com/mdn-css_properties_grid-template-rows_masonry)), However, no warning...
`/* doiuse-disable feature */` often leads to people forgetting to re-enable this rule again, when it should only be ignored in one specific case Most tools support a syntax to...
This pull request improves checking for partially supported properties by using MDN to check if the specific value we're using is unsupported or not. For example, `appearance: auto` got support...
BUG: postcss will skip `doiuse` if the configuration is in object format and the options for `doiuse` is set as an empty object. Minimal repro: https://stackblitz.com/edit/vitejs-vite-f8xwph A few things to...
`grid-template: 'a' minmax(0, 1fr)` get css-math-functions warning
Bumps and [@babel/traverse](https://github.com/babel/babel/tree/HEAD/packages/babel-traverse). These dependencies needed to be updated together. Updates `@babel/traverse` from 7.22.5 to 7.23.2 Release notes Sourced from @babel/traverse's releases. v7.23.2 (2023-10-11) NOTE: This release also re-publishes @babel/core,...
Using `doiuse` in my project, I encountered the fact that when using the `text-decoration` rule I received an error message like `mdn-text-decoration-shorthand`. I read [mdn about `text-decoration`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-decoration) and realized that:...