-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 <[email protected]>
- Loading branch information
Showing
1 changed file
with
204 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters