@adamwathan is this still the case in Tailwind 2? If so, I think an ESLint rule in this library could help warn users about this and it would be really useful if eslint --fix could apply a proper codemod to automagically convert from theme() to @apply
According to this tweet,
theme()
is less error-prone than@apply
: https://twitter.com/adamwathan/status/1226511611592085504@adamwathan is this still the case in Tailwind 2? If so, I think an ESLint rule in this library could help warn users about this and it would be really useful if
eslint --fix
could apply a proper codemod to automagically convert fromtheme()
to@apply
(I might be able to push a PR for this)