@govbr-ds/markdownlint-config 3.3.0-alpha.2 → 3.3.0
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/markdownlint.yml +47 -0
- package/package.json +4 -5
- package/.markdownlint.jsonc +0 -46
package/markdownlint.yml
ADDED
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
# Default state for all rules
|
|
2
|
+
default: true
|
|
3
|
+
|
|
4
|
+
# MD003/heading-style : Heading style : https://github.com/DavidAnson/markdownlint/blob/main/doc/md003.md
|
|
5
|
+
MD003:
|
|
6
|
+
style: atx
|
|
7
|
+
# MD004/ul-style : Unordered list style : https://github.com/DavidAnson/markdownlint/blob/main/doc/md004.md
|
|
8
|
+
MD004:
|
|
9
|
+
style: dash
|
|
10
|
+
|
|
11
|
+
# MD013/line-length : Line length : https://github.com/DavidAnson/markdownlint/blob/main/doc/md013.md
|
|
12
|
+
MD013: false
|
|
13
|
+
|
|
14
|
+
MD024:
|
|
15
|
+
siblings_only: true
|
|
16
|
+
|
|
17
|
+
# MD033/no-inline-html : Inline HTML : https://github.com/DavidAnson/markdownlint/blob/main/doc/md033.md
|
|
18
|
+
MD033: false
|
|
19
|
+
|
|
20
|
+
# MD035/hr-style : Horizontal rule style : https://github.com/DavidAnson/markdownlint/blob/main/doc/md035.md
|
|
21
|
+
MD035:
|
|
22
|
+
style: ---
|
|
23
|
+
|
|
24
|
+
# MD044/proper-names : Proper names should have the correct capitalization : https://github.com/DavidAnson/markdownlint/blob/main/doc/md044.md
|
|
25
|
+
MD044:
|
|
26
|
+
code_blocks: false
|
|
27
|
+
html_elements: false
|
|
28
|
+
names:
|
|
29
|
+
- Design System
|
|
30
|
+
- Web Components
|
|
31
|
+
- Padrão Digital de Governo
|
|
32
|
+
|
|
33
|
+
# MD046/code-block-style : Code block style : https://github.com/DavidAnson/markdownlint/blob/main/doc/md046.md
|
|
34
|
+
MD046:
|
|
35
|
+
style: fenced
|
|
36
|
+
|
|
37
|
+
# MD048/code-fence-style : Code fence style : https://github.com/DavidAnson/markdownlint/blob/main/doc/md048.md
|
|
38
|
+
MD048:
|
|
39
|
+
style: backtick
|
|
40
|
+
|
|
41
|
+
# MD049/emphasis-style : Emphasis style : https://github.com/DavidAnson/markdownlint/blob/main/doc/md049.md
|
|
42
|
+
MD049:
|
|
43
|
+
style: asterisk
|
|
44
|
+
|
|
45
|
+
# MD050/strong-style : Strong style : https://github.com/DavidAnson/markdownlint/blob/main/doc/md050.md
|
|
46
|
+
MD050:
|
|
47
|
+
style: asterisk
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@govbr-ds/markdownlint-config",
|
|
3
|
-
"version": "3.3.0
|
|
3
|
+
"version": "3.3.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Configuração compartilhada do markdownlint para projetos do GovBR-DS",
|
|
6
6
|
"keywords": [
|
|
@@ -17,13 +17,12 @@
|
|
|
17
17
|
},
|
|
18
18
|
"license": "MIT",
|
|
19
19
|
"author": "SERPRO (http://serpro.gov.br/)",
|
|
20
|
-
"main": "
|
|
20
|
+
"main": "markdownlint.yml",
|
|
21
21
|
"files": [
|
|
22
|
-
"
|
|
22
|
+
"markdownlint.yml"
|
|
23
23
|
],
|
|
24
24
|
"scripts": {
|
|
25
|
-
"commit": "git-cz"
|
|
26
|
-
"lint:md": "markdownlint -d --fix **/*.md"
|
|
25
|
+
"commit": "git-cz"
|
|
27
26
|
},
|
|
28
27
|
"config": {
|
|
29
28
|
"commitizen": {
|
package/.markdownlint.jsonc
DELETED
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
// Default state for all rules
|
|
3
|
-
"default": true,
|
|
4
|
-
// MD003: Heading style: https://github.com/DavidAnson/markdownlint/blob/main/doc/md003.md
|
|
5
|
-
"MD003": {
|
|
6
|
-
"style": "atx",
|
|
7
|
-
},
|
|
8
|
-
// MD004: Unordered list style: https://github.com/DavidAnson/markdownlint/blob/main/doc/md004.md
|
|
9
|
-
"MD004": {
|
|
10
|
-
"style": "dash",
|
|
11
|
-
},
|
|
12
|
-
// MD013: Line length: https://github.com/DavidAnson/markdownlint/blob/main/doc/md013.md
|
|
13
|
-
"MD013": false,
|
|
14
|
-
// MD024: Multiple headings with the same content: https://github.com/DavidAnson/markdownlint/blob/main/doc/md013.md
|
|
15
|
-
"MD024": {
|
|
16
|
-
"siblings_only": true,
|
|
17
|
-
},
|
|
18
|
-
// MD033: Inline HTML: https://github.com/DavidAnson/markdownlint/blob/main/doc/md033.md
|
|
19
|
-
"MD033": false,
|
|
20
|
-
// MD035: Horizontal rule style: https://github.com/DavidAnson/markdownlint/blob/main/doc/md035.md
|
|
21
|
-
"MD035": {
|
|
22
|
-
"style": "---",
|
|
23
|
-
},
|
|
24
|
-
// MD044: Proper names should have the correct capitalization: https://github.com/DavidAnson/markdownlint/blob/main/doc/md044.md
|
|
25
|
-
"MD044": {
|
|
26
|
-
"code_blocks": false,
|
|
27
|
-
"html_elements": false,
|
|
28
|
-
"names": ["Design System", "Web Components", "Padrão Digital de Governo"],
|
|
29
|
-
},
|
|
30
|
-
// MD046: Code block style: https://github.com/DavidAnson/markdownlint/blob/main/doc/md046.md
|
|
31
|
-
"MD046": {
|
|
32
|
-
"style": "fenced",
|
|
33
|
-
},
|
|
34
|
-
// MD048: Code fence style: https://github.com/DavidAnson/markdownlint/blob/main/doc/md048.md
|
|
35
|
-
"MD048": {
|
|
36
|
-
"style": "backtick",
|
|
37
|
-
},
|
|
38
|
-
// MD049: Emphasis style: https://github.com/DavidAnson/markdownlint/blob/main/doc/md049.md
|
|
39
|
-
"MD049": {
|
|
40
|
-
"style": "asterisk",
|
|
41
|
-
},
|
|
42
|
-
// MD050: Strong style: https://github.com/DavidAnson/markdownlint/blob/main/doc/md050.md
|
|
43
|
-
"MD050": {
|
|
44
|
-
"style": "asterisk",
|
|
45
|
-
},
|
|
46
|
-
}
|