Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: update fixtures #18

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
"javascript","json","jsonc"
],
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true,
"source.fixAll.stylelint": true,
"source.fixAll.eslint": "explicit",
"source.fixAll.stylelint": "explicit"
},
"[stylus]": {
"editor.codeActionsOnSave": {
"source.fixAll.stylelint": false,
"source.fixAll.stylelint": "never",
}
},
"stylelint.validate": [
Expand Down
12 changes: 6 additions & 6 deletions tests/fixtures/@css/parsed-win.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,13 +49,13 @@
},
"type": "decl",
"source": {
"input": {
"file": "input.styl"
},
"start": {
"line": 3,
"column": 9
},
"input": {
"file": "input.styl"
},
"end": {
"line": 3,
"column": 19
Expand All @@ -66,13 +66,13 @@
}
],
"source": {
"input": {
"file": "input.styl"
},
"start": {
"line": 2,
"column": 5
},
"input": {
"file": "input.styl"
},
"end": {
"line": 4,
"column": 5
Expand Down
12 changes: 6 additions & 6 deletions tests/fixtures/@css/parsed.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,13 +49,13 @@
},
"type": "decl",
"source": {
"input": {
"file": "input.styl"
},
"start": {
"line": 3,
"column": 9
},
"input": {
"file": "input.styl"
},
"end": {
"line": 3,
"column": 19
Expand All @@ -66,13 +66,13 @@
}
],
"source": {
"input": {
"file": "input.styl"
},
"start": {
"line": 2,
"column": 5
},
"input": {
"file": "input.styl"
},
"end": {
"line": 4,
"column": 5
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,13 +73,13 @@
},
"type": "decl",
"source": {
"input": {
"file": "input.styl"
},
"start": {
"line": 5,
"column": 9
},
"input": {
"file": "input.styl"
},
"end": {
"line": 5,
"column": 68
Expand All @@ -95,13 +95,13 @@
},
"type": "decl",
"source": {
"input": {
"file": "input.styl"
},
"start": {
"line": 6,
"column": 9
},
"input": {
"file": "input.styl"
},
"end": {
"line": 6,
"column": 74
Expand All @@ -112,13 +112,13 @@
}
],
"source": {
"input": {
"file": "input.styl"
},
"start": {
"line": 4,
"column": 5
},
"input": {
"file": "input.styl"
},
"end": {
"line": 7,
"column": 5
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,13 +73,13 @@
},
"type": "decl",
"source": {
"input": {
"file": "input.styl"
},
"start": {
"line": 5,
"column": 9
},
"input": {
"file": "input.styl"
},
"end": {
"line": 5,
"column": 68
Expand All @@ -95,13 +95,13 @@
},
"type": "decl",
"source": {
"input": {
"file": "input.styl"
},
"start": {
"line": 6,
"column": 9
},
"input": {
"file": "input.styl"
},
"end": {
"line": 6,
"column": 74
Expand All @@ -112,13 +112,13 @@
}
],
"source": {
"input": {
"file": "input.styl"
},
"start": {
"line": 4,
"column": 5
},
"input": {
"file": "input.styl"
},
"end": {
"line": 7,
"column": 5
Expand Down
2 changes: 1 addition & 1 deletion tests/fixtures/syntax-error01/error.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
"line": 6,
"column": 23,
"input": {
"line": 6,
"column": 23,
"line": 6,
"source": "body\n font 14px/1.5 Helvetica, arial, sans-serif\n button\n button.button\n input[type='button']\n input[type='submit']"
}
}
2 changes: 1 addition & 1 deletion tests/fixtures/syntax-error02-@css/error.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
"line": 3,
"column": 5,
"input": {
"line": 3,
"column": 5,
"line": 3,
"source": "\n@css {\n css error\n}"
}
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

@media (-webkit-min-device-pixel-ratio: 2), (-o-min-device-pixel-ratio: 2/1), (min-resolution: 2dppx) {
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 2dppx) {
.image {
background-image: url(image@2x.png);

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

@media (-webkit-min-device-pixel-ratio: 2), (-o-min-device-pixel-ratio: 2/1), (min-resolution: 2dppx)
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 2dppx)
.image
background-image url(image@2x.png)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
.image {
background-image: url(image@1x.png);
}
@media (-webkit-min-device-pixel-ratio: 2), (-o-min-device-pixel-ratio: 2/1), (min-resolution: 2dppx) {
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 2dppx) {
.image {
background-image: url(image@2x.png);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@
.image
background-image url(image@1x.png)

@media (-webkit-min-device-pixel-ratio: 2), (-o-min-device-pixel-ratio: 2/1), (min-resolution: 2dppx)
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 2dppx)
.image
background-image url(image@2x.png)
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
.a {
-webkit-transition: 1s;
-o-transition: 1s;
transition: 1s; /* will be prefixed */
}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
.a
-webkit-transition 1s // will be prefixed;
-o-transition 1s // will be prefixed;
transition 1s // will be prefixed

.b
Expand Down
8 changes: 4 additions & 4 deletions tests/integration/stylelint/fixtures/test05/warnings.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@
"text": "Expected empty line before at-rule (at-rule-empty-line-before)"
},
{
"line": 2,
"column": 11,
"endLine": 2,
"endColumn": 12,
"line": 3,
"column": 1,
"endLine": 3,
"endColumn": 2,
"rule": "declaration-block-semicolon-newline-after",
"severity": "error",
"text": "Expected newline after \";\" in a multi-line declaration block (declaration-block-semicolon-newline-after)"
Expand Down
Loading