Skip to content

Commit 1ce4e94

Browse files
authored
Chore: Change it to use YAML instead of JSON as the fixture. (#209)
* Chore: Change it to use YAML instead of JSON as the fixture. * add workaround to not block PRs * use yaml
1 parent b75ff26 commit 1ce4e94

File tree

402 files changed

+13907
-17715
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

402 files changed

+13907
-17715
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,8 @@
141141
"svelte-adapter-ghpages": "0.0.2",
142142
"typescript": "^4.5.2",
143143
"vite": "^3.0.0-0",
144-
"vite-plugin-svelte-md": "^0.1.5"
144+
"vite-plugin-svelte-md": "^0.1.5",
145+
"yaml": "^2.1.1"
145146
},
146147
"publishConfig": {
147148
"access": "public"

tests/fixtures/rules/button-has-type/invalid/button-false/invalid-button-errors.json

Lines changed: 0 additions & 7 deletions
This file was deleted.
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
- message: button is a forbidden value for button type attribute.
2+
line: 1
3+
column: 9
4+
suggestions: null

tests/fixtures/rules/button-has-type/invalid/reset-false/invalid-reset-errors.json

Lines changed: 0 additions & 7 deletions
This file was deleted.
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
- message: reset is a forbidden value for button type attribute.
2+
line: 1
3+
column: 9
4+
suggestions: null

tests/fixtures/rules/button-has-type/invalid/submit-false/invalid-submit-errors.json

Lines changed: 0 additions & 7 deletions
This file was deleted.
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
- message: submit is a forbidden value for button type attribute.
2+
line: 1
3+
column: 9
4+
suggestions: null

tests/fixtures/rules/button-has-type/invalid/test01-errors.json

Lines changed: 0 additions & 22 deletions
This file was deleted.
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
- message: Missing an explicit type attribute for button.
2+
line: 1
3+
column: 1
4+
suggestions: null
5+
- message: A value must be set for button type attribute.
6+
line: 2
7+
column: 9
8+
suggestions: null
9+
- message: A value must be set for button type attribute.
10+
line: 3
11+
column: 9
12+
suggestions: null
13+
- message: foo is an invalid value for button type attribute.
14+
line: 4
15+
column: 9
16+
suggestions: null

tests/fixtures/rules/first-attribute-linebreak/invalid/below/test01-errors.json

Lines changed: 0 additions & 12 deletions
This file was deleted.

0 commit comments

Comments
 (0)