amilajack / amilajack/eslint-plugin-compat
Idea: compatibility linting for css properties in 'css-in-js' libraries
Aperta
enhancement
- Lingua principale
- TypeScript
- Stelle
- 3.2k
- Fork
- 115
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
One of the benefits of css-in-js is being able to leverage JS tooling. With this in mind, it makes sense to lint css-in-js with this plugin:
### Idea
This is an example of linting [styled-components](https://www.styled-components.com) with this plugin.
```js
const Button = styled.a`
backdrop-filter: blur(10px);
`
```
Errors:
```
'backdrop-filter' is not supported in Firefox 56
```
Guida per i contributori
Apri la guida per i contributori
Valutazione
Questa issue non è ancora stata valutata.