Skip to content

Commit

Permalink
Update tests for updated rules
Browse files Browse the repository at this point in the history
  • Loading branch information
ocean90 committed Jan 20, 2022
1 parent 6ff3d4b commit 3214af2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/stylelint-config/test/__snapshots__/scss.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Array [
"line": 1,
"rule": "scss/at-rule-no-unknown",
"severity": "error",
"text": "Unexpected unknown at-rule \\"@unknown\\" (at-rule-no-unknown) (scss/at-rule-no-unknown)",
"text": "Unexpected unknown at-rule \\"@unknown\\" (scss/at-rule-no-unknown)",
},
Object {
"column": 2,
Expand Down
4 changes: 3 additions & 1 deletion packages/stylelint-config/test/scss-valid.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import "path/to/foo.scss";
@import "path/to/foo";

@function fooBar {

Expand All @@ -22,8 +22,10 @@ $map: (
display: inline-block;
}

// stylelint-disable no-invalid-position-at-import-rule
@import "../some/url";
@import "../another/url";
// stylelint-enable no-invalid-position-at-import-rule

b {

Expand Down

0 comments on commit 3214af2

Please sign in to comment.