@lobehub/lint 1.16.0 → 1.17.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/README.md CHANGED
@@ -179,7 +179,7 @@ $ npm start
179
179
 
180
180
  <!-- CONTRIBUTION GROUP -->
181
181
 
182
- > 📊 Total: <kbd>**3**</kbd>
182
+ > 📊 Total: <kbd>**4**</kbd>
183
183
 
184
184
  <a href="https://github.com/canisminor1990" title="canisminor1990">
185
185
  <img src="https://avatars.githubusercontent.com/u/17870709?v=4" width="50" />
@@ -190,6 +190,9 @@ $ npm start
190
190
  <a href="https://github.com/arvinxx" title="arvinxx">
191
191
  <img src="https://avatars.githubusercontent.com/u/28616219?v=4" width="50" />
192
192
  </a>
193
+ <a href="https://github.com/apps/dependabot" title="dependabot[bot]">
194
+ <img src="https://avatars.githubusercontent.com/in/29110?v=4" width="50" />
195
+ </a>
193
196
 
194
197
  <!-- CONTRIBUTION END -->
195
198
 
@@ -203,58 +206,28 @@ $ npm start
203
206
 
204
207
  #### 📝 License
205
208
 
206
- Copyright © 2023 ~ present [LobeHub][profile-url]. <br />
209
+ Copyright © 2023 \~ present [LobeHub][profile-url]. <br />
207
210
  This project is [MIT](./LICENSE) licensed.
208
211
 
209
212
  <!-- LINK GROUP -->
210
213
 
211
- [profile-url]: https://github.com/lobehub
212
- [gitpod-url]: https://gitpod.io/#https://github.com/lobehub/lobe-lint
213
-
214
- <!-- SHIELD LINK GROUP -->
215
-
216
214
  [back-to-top]: https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square
217
-
218
- <!-- release -->
219
-
220
- [release-shield]: https://img.shields.io/npm/v/@lobehub/lint?label=%F0%9F%A4%AF%20NPM
221
- [release-url]: https://www.npmjs.com/package/@lobehub/lint
222
-
223
- <!-- releaseDate -->
224
-
225
- [release-date-shield]: https://img.shields.io/github/release-date/lobehub/lobe-lint?style=flat
226
- [release-date-url]: https://github.com/lobehub/lobe-lint/releases
227
-
228
- <!-- releaseDownload -->
229
-
230
- [release-download-shield]: https://img.shields.io/npm/dt/@lobehub/lint
231
-
232
- <!-- ciTest -->
233
-
234
- [ci-test-shield]: https://github.com/lobehub/lobe-lint/workflows/Test%20CI/badge.svg
235
- [ci-test-url]: https://github.com/lobehub/lobe-lint/actions/workflows/test.yml
236
-
237
- <!-- ciRelease -->
238
-
239
215
  [ci-release-shield]: https://github.com/lobehub/lobe-lint/workflows/Build%20and%20Release/badge.svg
240
216
  [ci-release-url]: https://github.com/lobehub/lobe-lint/actions/workflows/release.yml
241
-
242
- <!-- contributors -->
243
-
217
+ [ci-test-shield]: https://github.com/lobehub/lobe-lint/workflows/Test%20CI/badge.svg
218
+ [ci-test-url]: https://github.com/lobehub/lobe-lint/actions/workflows/test.yml
244
219
  [contributors-shield]: https://img.shields.io/github/contributors/lobehub/lobe-lint.svg?style=flat
245
220
  [contributors-url]: https://github.com/lobehub/lobe-lint/graphs/contributors
246
-
247
- <!-- forks -->
248
-
249
221
  [forks-shield]: https://img.shields.io/github/forks/lobehub/lobe-lint.svg?style=flat
250
222
  [forks-url]: https://github.com/lobehub/lobe-lint/network/members
251
-
252
- <!-- stargazers -->
253
-
254
- [stargazers-shield]: https://img.shields.io/github/stars/lobehub/lobe-lint.svg?style=flat
255
- [stargazers-url]: https://github.com/lobehub/lobe-lint/stargazers
256
-
257
- <!-- issues -->
258
-
223
+ [gitpod-url]: https://gitpod.io/#https://github.com/lobehub/lobe-lint
259
224
  [issues-shield]: https://img.shields.io/github/issues/lobehub/lobe-lint.svg?style=flat
260
225
  [issues-url]: https://github.com/lobehub/lobe-lint/issues/new/choose
226
+ [profile-url]: https://github.com/lobehub
227
+ [release-date-shield]: https://img.shields.io/github/release-date/lobehub/lobe-lint?style=flat
228
+ [release-date-url]: https://github.com/lobehub/lobe-lint/releases
229
+ [release-download-shield]: https://img.shields.io/npm/dt/@lobehub/lint
230
+ [release-shield]: https://img.shields.io/npm/v/@lobehub/lint?label=%F0%9F%A4%AF%20NPM
231
+ [release-url]: https://www.npmjs.com/package/@lobehub/lint
232
+ [stargazers-shield]: https://img.shields.io/github/stars/lobehub/lobe-lint.svg?style=flat
233
+ [stargazers-url]: https://github.com/lobehub/lobe-lint/stargazers
@@ -27,6 +27,10 @@ var remarklint_default = {
27
27
  plugins: [
28
28
  "remark-gfm",
29
29
  "remark-frontmatter",
30
+ // ----- Plugin -----------------------------------------------------------
31
+ "remark-sort-definitions",
32
+ ["remark-toc", { heading: "TOC", maxDepth: 3 }],
33
+ "remark-remove-unused-definitions",
30
34
  // ----- Presets -----------------------------------------------------------
31
35
  "remark-preset-lint-markdown-style-guide",
32
36
  "remark-preset-lint-recommended",
@@ -47,7 +51,6 @@ var remarklint_default = {
47
51
  "remark-lint-no-empty-sections",
48
52
  "remark-lint-write-good",
49
53
  "remark-lint-frontmatter-schema",
50
- ["remark-toc", { heading: "TOC", maxDepth: 3 }],
51
54
  // ----- Overrides ---------------------------------------------------------
52
55
  ["remark-lint-list-item-indent", "space"],
53
56
  ["remark-lint-list-item-spacing", { checkBlanks: true }],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lobehub/lint",
3
- "version": "1.16.0",
3
+ "version": "1.17.0",
4
4
  "homepage": "https://github.com/lobehub/lobe-lint",
5
5
  "bugs": {
6
6
  "url": "https://github.com/lobehub/lobe-lint/issues/new"
@@ -68,6 +68,8 @@
68
68
  "remark-preset-lint-consistent": "latest",
69
69
  "remark-preset-lint-markdown-style-guide": "latest",
70
70
  "remark-preset-lint-recommended": "latest",
71
+ "remark-remove-unused-definitions": "latest",
72
+ "remark-sort-definitions": "latest",
71
73
  "remark-toc": "latest",
72
74
  "semantic-release-config-gitmoji": "latest",
73
75
  "stylelint-config-clean-order": "latest",