markdownlint-config-hcl 0.0.3-alpha.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/LICENSE +1 -0
- package/README.md +29 -0
- package/index.json +111 -0
- package/package.json +31 -0
package/LICENSE
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
MIT
|
package/README.md
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
# markdownlint-config
|
|
2
|
+
|
|
3
|
+
> 基于 markdownlint 配置的基础通用的Markdown规范
|
|
4
|
+
|
|
5
|
+
支持配套的 [markdownlint 可共享配置](https://www.npmjs.com/package/markdownlint#optionsconfig)。
|
|
6
|
+
|
|
7
|
+
## 安装
|
|
8
|
+
|
|
9
|
+
需要先行安装 [markdownlint](https://www.npmjs.com/package/markdownlint):
|
|
10
|
+
|
|
11
|
+
```bash
|
|
12
|
+
npm install markdownlint --save-dev
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
安装本包:
|
|
16
|
+
|
|
17
|
+
```bash
|
|
18
|
+
npm install markdownlint-config --save-dev
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
## 使用
|
|
22
|
+
|
|
23
|
+
在 `.markdownlint.json` 中继承本包:
|
|
24
|
+
|
|
25
|
+
```json
|
|
26
|
+
{
|
|
27
|
+
"extends": "markdownlint-config-hcl"
|
|
28
|
+
}
|
|
29
|
+
```
|
package/index.json
ADDED
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://raw.githubusercontent.com/DavidAnson/markdownlint/main/schema/markdownlint-config-schema.json",
|
|
3
|
+
"default": true,
|
|
4
|
+
"ul-style": {
|
|
5
|
+
"style": "dash"
|
|
6
|
+
},
|
|
7
|
+
"no-trailing-spaces": {
|
|
8
|
+
"br_spaces": 0,
|
|
9
|
+
"list_item_empty_lines": false
|
|
10
|
+
},
|
|
11
|
+
"list-marker-space": false,
|
|
12
|
+
"line-length": false,
|
|
13
|
+
"no-inline-html": false,
|
|
14
|
+
"no-duplicate-header": false,
|
|
15
|
+
"proper-names": {
|
|
16
|
+
"names": [
|
|
17
|
+
"JavaScript",
|
|
18
|
+
"HTML",
|
|
19
|
+
"CSS",
|
|
20
|
+
"AJAX",
|
|
21
|
+
"JSON",
|
|
22
|
+
"DOM",
|
|
23
|
+
"BOM",
|
|
24
|
+
"Less",
|
|
25
|
+
"Sass",
|
|
26
|
+
"SCSS",
|
|
27
|
+
"HTTP",
|
|
28
|
+
"HTTPS",
|
|
29
|
+
"WebSocket",
|
|
30
|
+
"ECMAScript",
|
|
31
|
+
"ECMAScript 2015",
|
|
32
|
+
"ECMAScript 6",
|
|
33
|
+
"ES6",
|
|
34
|
+
"ES2015",
|
|
35
|
+
"jQuery",
|
|
36
|
+
"jQuery Mobile",
|
|
37
|
+
"React",
|
|
38
|
+
"React Native",
|
|
39
|
+
"Bootstrap",
|
|
40
|
+
"Gulp",
|
|
41
|
+
"Grunt",
|
|
42
|
+
"webpack",
|
|
43
|
+
"Yeoman",
|
|
44
|
+
"npm",
|
|
45
|
+
"spm",
|
|
46
|
+
"Babel",
|
|
47
|
+
"Mocha",
|
|
48
|
+
"Jasmine",
|
|
49
|
+
"PHP",
|
|
50
|
+
"Java",
|
|
51
|
+
"Node.js",
|
|
52
|
+
"NodeJS",
|
|
53
|
+
"MySQL",
|
|
54
|
+
"MongoDB",
|
|
55
|
+
"Redis",
|
|
56
|
+
"Apache",
|
|
57
|
+
"Nginx",
|
|
58
|
+
"NGINX",
|
|
59
|
+
"GitHub",
|
|
60
|
+
"GitLab",
|
|
61
|
+
"GitCafe",
|
|
62
|
+
"Chrome",
|
|
63
|
+
"Firefox",
|
|
64
|
+
"Safari",
|
|
65
|
+
"Internet Explore",
|
|
66
|
+
"IE",
|
|
67
|
+
"IE 7",
|
|
68
|
+
"Opera",
|
|
69
|
+
"UC",
|
|
70
|
+
"Android",
|
|
71
|
+
"iOS",
|
|
72
|
+
"Windows",
|
|
73
|
+
"OS X",
|
|
74
|
+
"Ubuntu",
|
|
75
|
+
"Linux",
|
|
76
|
+
"Debian",
|
|
77
|
+
"PC",
|
|
78
|
+
"Mobile",
|
|
79
|
+
"H5",
|
|
80
|
+
"MacBook",
|
|
81
|
+
"MacBook Pro",
|
|
82
|
+
"MacBook Air",
|
|
83
|
+
"iMac",
|
|
84
|
+
"Mac Pro",
|
|
85
|
+
"iPad",
|
|
86
|
+
"Mac mini",
|
|
87
|
+
"iPad Air",
|
|
88
|
+
"iPad Air 2",
|
|
89
|
+
"iPad mini",
|
|
90
|
+
"iPhone",
|
|
91
|
+
"iPhone 6s",
|
|
92
|
+
"iPhone 6s Plus",
|
|
93
|
+
"Apple Watch",
|
|
94
|
+
"Alibaba",
|
|
95
|
+
"Taobao",
|
|
96
|
+
"Google",
|
|
97
|
+
"Alphabet",
|
|
98
|
+
"Apple",
|
|
99
|
+
"Microsoft",
|
|
100
|
+
"Yahoo",
|
|
101
|
+
"FPS",
|
|
102
|
+
"UI",
|
|
103
|
+
"URL",
|
|
104
|
+
"URI",
|
|
105
|
+
"URLs",
|
|
106
|
+
"URIs",
|
|
107
|
+
"Visual Studio Code"
|
|
108
|
+
],
|
|
109
|
+
"code_blocks": false
|
|
110
|
+
}
|
|
111
|
+
}
|
package/package.json
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "markdownlint-config-hcl",
|
|
3
|
+
"version": "0.0.3-alpha.0",
|
|
4
|
+
"description": "基于 markdownlint 配置的基础通用的 Markdown 规范",
|
|
5
|
+
"license": "ISC",
|
|
6
|
+
"author": "hechenglong <1104907547@qq.com>",
|
|
7
|
+
"main": "index.json",
|
|
8
|
+
"files": [
|
|
9
|
+
"index.json"
|
|
10
|
+
],
|
|
11
|
+
"keywords": [
|
|
12
|
+
"markdown",
|
|
13
|
+
"lint"
|
|
14
|
+
],
|
|
15
|
+
"publishConfig": {
|
|
16
|
+
"registry": "https://registry.npmjs.org/",
|
|
17
|
+
"access": "public"
|
|
18
|
+
},
|
|
19
|
+
"homepage": "https://github.com/15272410401/front-end-coding-specification#readme",
|
|
20
|
+
"repository": {
|
|
21
|
+
"type": "git",
|
|
22
|
+
"url": "git+https://github.com/15272410401/front-end-coding-specification.git"
|
|
23
|
+
},
|
|
24
|
+
"bugs": {
|
|
25
|
+
"url": "https://github.com/15272410401/front-end-coding-specification/issues"
|
|
26
|
+
},
|
|
27
|
+
"peerDependencies": {
|
|
28
|
+
"markdownlint": "^0.41.0"
|
|
29
|
+
},
|
|
30
|
+
"gitHead": "2cf5f56362c04886dc8f937985cabd5794615f4d"
|
|
31
|
+
}
|