@d-zero/markuplint-config 5.0.0-alpha.48 → 5.0.0-alpha.49
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/base.js +3 -1
- package/package.json +4 -4
package/base.js
CHANGED
|
@@ -7,7 +7,7 @@ export default {
|
|
|
7
7
|
'disallowed-element': {
|
|
8
8
|
value: ['br'],
|
|
9
9
|
reason:
|
|
10
|
-
'br要素は原則使用しません。代わりにCSS
|
|
10
|
+
'br要素は原則使用しません。代わりにCSSでスタイルを調整してください。使用する場合は理由が必要です。(D-ZERO独自ルール)',
|
|
11
11
|
},
|
|
12
12
|
},
|
|
13
13
|
nodeRules: [
|
|
@@ -36,6 +36,8 @@ export default {
|
|
|
36
36
|
{
|
|
37
37
|
selector: 'img',
|
|
38
38
|
rules: {
|
|
39
|
+
// https://github.com/markuplint/markuplint/blob/c35e0beb5e14093a41cee7634221dbe7f7d577f9/packages/%40markuplint/config-presets/src/preset.performance.json#L25-L35 の設定を上書き
|
|
40
|
+
// width, height の指定は上書きされるため、省略可能になるが、ビルド時に自動的に付与されるため問題なしとする
|
|
39
41
|
'required-attr': {
|
|
40
42
|
value: 'alt',
|
|
41
43
|
reason:
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@d-zero/markuplint-config",
|
|
3
|
-
"version": "5.0.0-alpha.
|
|
3
|
+
"version": "5.0.0-alpha.49",
|
|
4
4
|
"description": "Configurations of Markuplint",
|
|
5
5
|
"repository": "https://github.com/d-zero-dev/linters.git",
|
|
6
6
|
"author": "D-ZERO Co., Ltd.",
|
|
@@ -23,8 +23,8 @@
|
|
|
23
23
|
"*.js"
|
|
24
24
|
],
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@markuplint/pug-parser": "4.6.
|
|
27
|
-
"markuplint": "4.11.
|
|
26
|
+
"@markuplint/pug-parser": "4.6.12",
|
|
27
|
+
"markuplint": "4.11.2"
|
|
28
28
|
},
|
|
29
|
-
"gitHead": "
|
|
29
|
+
"gitHead": "62dcdf676fe295b37fbf8e8d5da9f1591a0c2b24"
|
|
30
30
|
}
|