@qiangzaifan/markdownlint-config-encode 0.0.0-stage → 1.0.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.
Files changed (4) hide show
  1. package/LICENSE +22 -0
  2. package/README.md +22 -2
  3. package/index.json +111 -0
  4. package/package.json +25 -3
package/LICENSE ADDED
@@ -0,0 +1,22 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2023 印客学院
4
+ Copyright (c) 2023 强仔 (modifications)
5
+
6
+ Permission is hereby granted, free of charge, to any person obtaining a copy
7
+ of this software and associated documentation files (the "Software"), to deal
8
+ in the Software without restriction, including without limitation the rights
9
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10
+ copies of the Software, and to permit persons to whom the Software is
11
+ furnished to do so, subject to the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be included in all
14
+ copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22
+ SOFTWARE.
package/README.md CHANGED
@@ -1,3 +1,23 @@
1
- # Temporary Holding Version
1
+ # @qiangzaifan/markdownlint-config-encode
2
2
 
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.
3
+ > 强仔 文档 规范
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 @qiangzaifan/markdownlint-config-encode markdownlint --save-dev
13
+ ```
14
+
15
+ ## 使用
16
+
17
+ 在 `.markdownlint.json` 中继承本包:
18
+
19
+ ```json
20
+ {
21
+ "extends": "@qiangzaifan/markdownlint-config-encode"
22
+ }
23
+ ```
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 CHANGED
@@ -1,6 +1,28 @@
1
1
  {
2
2
  "name": "@qiangzaifan/markdownlint-config-encode",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
3
+ "version": "1.0.0",
4
+ "main": "index.json",
5
+ "description": "强仔 文档规范",
6
+ "keywords": [
7
+ "encode",
8
+ "markdown",
9
+ "lint"
10
+ ],
11
+ "author": "chenghuai",
12
+ "homepage": "https://github.com/qiangzaiFan/fe-spec-project#readme",
13
+ "license": "MIT",
14
+ "repository": {
15
+ "type": "git",
16
+ "url": "git+https://github.com/qiangzaiFan/fe-spec-project.git"
17
+ },
18
+ "bugs": {
19
+ "url": "https://github.com/qiangzaiFan/fe-spec-project/issues"
20
+ },
21
+ "peerDependencies": {
22
+ "markdownlint": "^0.28.1"
23
+ },
24
+ "publishConfig": {
25
+ "access": "public",
26
+ "registry": "https://registry.npmjs.org/"
27
+ }
6
28
  }