Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions .changeset/max-len.md

This file was deleted.

6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# eslint-plugin-markdown-preferences

## 0.40.0

### Minor Changes

- [#224](https://github.com/ota-meshi/eslint-plugin-markdown-preferences/pull/224) [`5796931`](https://github.com/ota-meshi/eslint-plugin-markdown-preferences/commit/57969315da3f8c5c94d3bfea95f8abe50546acf3) Thanks [@copilot-swe-agent](https://github.com/apps/copilot-swe-agent)! - feat: add [`markdown-preferences/max-len`](https://ota-meshi.github.io/eslint-plugin-markdown-preferences/rules/max-len.html) rule

## 0.39.0

### Minor Changes
Expand Down
4 changes: 0 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -216,8 +216,6 @@ The rules with the following 💄 are included in the `standard` config.

- Rules related to visual or stylistic decorations in Markdown.

<!-- eslint-disable markdown-links/no-dead-urls -- Auto generated -->

<!-- prettier-ignore-start -->

| Rule ID | Description | Fixable | Config |
Expand All @@ -237,8 +235,6 @@ The rules with the following 💄 are included in the `standard` config.

<!-- prettier-ignore-end -->

<!-- eslint-enable markdown-links/no-dead-urls -- Auto generated -->

<!--RULES_TABLE_END-->

<!--RULES_SECTION_END-->
Expand Down
11 changes: 5 additions & 6 deletions docs/rules/max-len.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,13 @@ pageClass: "rule-details"
sidebarDepth: 0
title: "markdown-preferences/max-len"
description: "enforce maximum length for various Markdown entities"
since: "v0.40.0"
---

# markdown-preferences/max-len

> enforce maximum length for various Markdown entities

- ❗ <badge text="This rule has not been released yet." vertical="middle" type="error"> **_This rule has not been released yet._** </badge>

## 📖 Rule Details

This rule enforces a configurable maximum length for different Markdown entities such as headings, paragraphs, lists, blockquotes, tables, code blocks, frontmatter, footnote definitions, HTML blocks, and math blocks.
Expand Down Expand Up @@ -181,12 +180,12 @@ For more information, see the [advanced configuration guide](https://github.com/

- [no-multiple-empty-lines](./no-multiple-empty-lines.md) - Disallow multiple empty lines

## 🔍 Implementation
## 🚀 Version

<!-- eslint-disable markdown-links/no-dead-urls -- Auto generated -->
This rule was introduced in eslint-plugin-markdown-preferences v0.40.0

## 🔍 Implementation

- [Rule source](https://github.com/ota-meshi/eslint-plugin-markdown-preferences/blob/main/src/rules/max-len.ts)
- [Test source](https://github.com/ota-meshi/eslint-plugin-markdown-preferences/blob/main/tests/src/rules/max-len.ts)
- [Test fixture sources](https://github.com/ota-meshi/eslint-plugin-markdown-preferences/tree/main/tests/fixtures/rules/max-len)

<!-- eslint-enable markdown-links/no-dead-urls -- Auto generated -->
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "eslint-plugin-markdown-preferences",
"version": "0.39.0",
"version": "0.40.0",
"description": "ESLint plugin that enforces our markdown preferences",
"type": "module",
"exports": {
Expand Down
2 changes: 1 addition & 1 deletion src/meta.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
// This file has been automatically generated,
// in order to update its content execute "npm run update"
export const name = "eslint-plugin-markdown-preferences" as const;
export const version = "0.39.0" as const;
export const version = "0.40.0" as const;