修订版 | 86bb7ee7335a07e93f823013d490b23deb2e888b (tree) |
---|---|
时间 | 2024-05-10 23:09:11 |
作者 | (del#271881) |
Commiter | qq542vev |
.markuplintrc.yaml から .markuplintrc へ変更。
@@ -1 +0,0 @@ | ||
1 | -.markuplintrc.yaml | |
\ No newline at end of file |
@@ -0,0 +1,29 @@ | ||
1 | +#!/usr/bin/markuplint --config | |
2 | + | |
3 | +rules: | |
4 | + invalid-attr: | |
5 | + options: | |
6 | + allowAttrs: | |
7 | + - about | |
8 | + - content | |
9 | + - name: datatype | |
10 | + value: &URLs | |
11 | + type: | |
12 | + token: URL | |
13 | + separator: space | |
14 | + allowEmpty: true | |
15 | + ordered: false | |
16 | + unique: false | |
17 | + caseInsensitive: true | |
18 | + - inlist | |
19 | + - prefix | |
20 | + - name: property | |
21 | + value: *URLs | |
22 | + - name: rel | |
23 | + value: *URLs | |
24 | + - resource | |
25 | + - name: rev | |
26 | + value: *URLs | |
27 | + - typeof | |
28 | + - name: vocab | |
29 | + value: URL |
@@ -1,29 +0,0 @@ | ||
1 | -#!/usr/bin/markuplint --config | |
2 | - | |
3 | -rules: | |
4 | - invalid-attr: | |
5 | - options: | |
6 | - allowAttrs: | |
7 | - - about | |
8 | - - content | |
9 | - - name: datatype | |
10 | - value: &URLs | |
11 | - type: | |
12 | - token: URL | |
13 | - separator: space | |
14 | - allowEmpty: true | |
15 | - ordered: false | |
16 | - unique: false | |
17 | - caseInsensitive: true | |
18 | - - inlist | |
19 | - - prefix | |
20 | - - name: property | |
21 | - value: *URLs | |
22 | - - name: rel | |
23 | - value: *URLs | |
24 | - - resource | |
25 | - - name: rev | |
26 | - value: *URLs | |
27 | - - typeof | |
28 | - - name: vocab | |
29 | - value: URL |