aboutsummaryrefslogtreecommitdiffstats
path: root/.markdownlint.yaml
Commit message (Collapse)AuthorAgeFilesLines
* Enable markdownlint `no-trailing-punctuation` and `no-blanks-blockquote` ↵silverwind2024-02-171-2/+0
| | | | | (#29214) Enable these two and fix issues.
* Update JS dependencies (#28537)silverwind2023-12-301-2/+2
| | | | | | | | | | - Update all JS dependencies excluding mcaptcha (breaking changes) and stylelint (plugin not compatible with v16) - Regenerate SVGs - Update markdownlint rule names - Fix one issue of heading in markdown discovered during lint - Update for monaco options renames - Fix stylelint rule length-zero-no-unit for custom properties - Tested editor, swagger, sorting, vue, lint
* Enable markdownlint `no-duplicate-header` (#27500)silverwind2023-10-071-1/+0
| | | | | | | | | | | | | | | | | Duplicate headers in a single Markdown document are problemlematic because the auto-generated links won't be stable. Enable this rule with no exceptions which is also the default of `markdownlint`. For example: ```md # A ## Example # B ## Example ``` Docasaurus will generated `example` and `example-1` links for this. If the first heading is altered, the link `example` will unexpectedly move to the second example heading. Ref: https://github.com/go-gitea/gitea/pull/27461#discussion_r1347987659
* Add markdownlint (#20512)silverwind2022-07-281-0/+18
Add `markdownlint` linter and fix issues. Config is based on the one from electron's repo with a few rules relaxed.