-
-
Notifications
You must be signed in to change notification settings - Fork 4.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* Fix wildcard syntax in `@forward` (#11482) * Add additional tests * Apply suggestions from code review Co-authored-by: Georgii Dolzhykov <thorn.mailbox@gmail.com> Co-authored-by: Georgii Dolzhykov <thorn.mailbox@gmail.com>
- Loading branch information
Showing
4 changed files
with
38 additions
and
2 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
#### Fix wildcard syntax in `@forward` (#11482) (#11487 by @niksy) | ||
|
||
<!-- prettier-ignore --> | ||
```scss | ||
// Input | ||
@forward "library" as btn-*; | ||
|
||
// Prettier stable | ||
@forward "library" as btn- *; | ||
|
||
// Prettier main | ||
@forward "library" as btn-*; | ||
``` |
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,3 +19,5 @@ | |
@forward "library" hide gradient; | ||
|
||
@forward "library" as btn-*; | ||
|
||
@forward "library" as btn*; |