Skip to content
This repository was archived by the owner on Jul 22, 2025. It is now read-only.

Conversation

@pmusaraj
Copy link
Contributor

Gets rid of this noise

Deprecation Warning [mixed-decls]: Sass's behavior for declarations that appear after nested
rules will be changing to match the behavior specified by CSS in an upcoming
version. To keep the existing behavior, move the declaration above the nested
rule. To opt into the new behavior, wrap the declaration in `& {}`.

More info: https://sass-lang.com/d/mixed-decls

     ╷
2550 │ ┌   @keyframes slideUp {
2551 │ │     to {
2552 │ │       transform: translateY(-100%);
2553 │ │     }
2554 │ │   }
     │ └─── nested rule
...  │
2575 │     left: 0;
     │     ^^^^^^^ declaration
     ╵

Gets rid of this noise

```
Deprecation Warning [mixed-decls]: Sass's behavior for declarations that appear after nested
rules will be changing to match the behavior specified by CSS in an upcoming
version. To keep the existing behavior, move the declaration above the nested
rule. To opt into the new behavior, wrap the declaration in `& {}`.

More info: https://sass-lang.com/d/mixed-decls

     ╷
2550 │ ┌   @Keyframes slideUp {
2551 │ │     to {
2552 │ │       transform: translateY(-100%);
2553 │ │     }
2554 │ │   }
     │ └─── nested rule
...  │
2575 │     left: 0;
     │     ^^^^^^^ declaration
     ╵
```
@pmusaraj pmusaraj merged commit ac29d30 into main Mar 12, 2025
6 checks passed
@pmusaraj pmusaraj deleted the scss-linting-cleanup branch March 12, 2025 17:25
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants