Skip to content

Commit

Permalink
fix: correct the order of notes
Browse files Browse the repository at this point in the history
  • Loading branch information
t-shiratori committed May 5, 2024
1 parent 7495e81 commit c6f45ab
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -84,10 +84,10 @@ impl Rule for NoInvalidPositionAtImportRule {
},
)
.note(markup! {
"Consider moving import position."
}).note(markup! {
"Any "<Emphasis>"@import"</Emphasis>" rules must precede all other valid at-rules and style rules in a stylesheet (ignoring @charset and @layer), or else the "<Emphasis>"@import"</Emphasis>" rule is invalid."
}),
}).note(markup! {
"Consider moving import position."
})
)
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ invalid.css:2:2 lint/nursery/noInvalidPositionAtImportRule ━━━━━━━
│ ^^^^^^^^^^^^^^^^^
3 │

i Consider moving import position.

i Any @import rules must precede all other valid at-rules and style rules in a stylesheet (ignoring @charset and @layer), or else the @import rule is invalid.

i Consider moving import position.


```
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ invalidBetweenImport.css:3:2 lint/nursery/noInvalidPositionAtImportRule ━━
│ ^^^^^^^^^^^^^^^^^
4 │

i Consider moving import position.

i Any @import rules must precede all other valid at-rules and style rules in a stylesheet (ignoring @charset and @layer), or else the @import rule is invalid.

i Consider moving import position.


```
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ invalidMediaImport.css:2:2 lint/nursery/noInvalidPositionAtImportRule ━━━
│ ^^^^^^^^^^^^^^^^^^^^^^
3 │

i Consider moving import position.

i Any @import rules must precede all other valid at-rules and style rules in a stylesheet (ignoring @charset and @layer), or else the @import rule is invalid.

i Consider moving import position.


```
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ invalidMediaImportUpperCase.css:2:2 lint/nursery/noInvalidPositionAtImportRule
│ ^^^^^^^^^^^^^^^^^^^^^^
3 │

i Consider moving import position.

i Any @import rules must precede all other valid at-rules and style rules in a stylesheet (ignoring @charset and @layer), or else the @import rule is invalid.

i Consider moving import position.


```

0 comments on commit c6f45ab

Please sign in to comment.