turbo
2652609c - feat: Add lint for `grid-template-areas` (#8060)

Commit
1 year ago
feat: Add lint for `grid-template-areas` (#8060) ### Description > grid-template-areas and grid-area behaves differently in lightningcss and that leads to some user problems, so we need a check to catches these errors. > Since lightning css in css modules is renaming grid area names, you have to use grid-area and grid-template-areas in the same file together. Using them in different files would be an error. > > So it would be great to have a check that emits an error when using grid-area in a CSS file but not declaring the name in grid-template-areas. Closes PACK-3022 ### Testing Instructions I added some tests --------- Co-authored-by: Tobias Koppers <tobias.koppers@googlemail.com>
Author
Parents
Loading