[PR #385] [MERGED] Add spaces_per_tab param to MD010 #2703

Closed
opened 2026-03-07 20:10:10 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/DavidAnson/markdownlint/pull/385
Author: @Yash-Singh1
Created: 4/6/2021
Status: Merged
Merged: 4/9/2021
Merged by: @DavidAnson

Base: nextHead: main


📝 Commits (10+)

  • 3ab0968 Add spaces param to MD010
  • f0e8b88 Renamed spaces to spaces_per_tab
  • 37d506e Add docs on spaces_per_tab
  • 4db8d7b Don't require sol to use spaces_per_tab
  • 055bed7 Change description as suggested in code review
  • 40eac83 Fix tests and build demo
  • be8a560 Apply suggestions from code review
  • 434edc9 Add test cases
  • 45a9fb3 Changed versions to v0.0.0
  • 9f56c9a Add tests for default spaces and reverted results-objects tests changes

📊 Changes

19 files changed (+157 additions, -4 deletions)

View changed files

📝 demo/markdownlint-browser.js (+5 -1)
📝 doc/Rules.md (+4 -1)
📝 lib/md010.js (+5 -1)
📝 schema/.markdownlint.jsonc (+3 -1)
📝 schema/.markdownlint.yaml (+2 -0)
📝 schema/build-config-schema.js (+5 -0)
📝 schema/markdownlint-config-schema.json (+10 -0)
test/detailed-results-4-tabs-MD010.json (+7 -0)
test/detailed-results-4-tabs-MD010.md (+3 -0)
test/detailed-results-4-tabs-MD010.md.fixed (+3 -0)
test/detailed-results-4-tabs-MD010.results.json (+29 -0)
test/detailed-results-default-spaces-MD010.json (+4 -0)
test/detailed-results-default-spaces-MD010.md (+3 -0)
test/detailed-results-default-spaces-MD010.md.fixed (+3 -0)
test/detailed-results-default-spaces-MD010.results.json (+29 -0)
test/detailed-results-no-tabs-edge-case-MD010.json (+7 -0)
test/detailed-results-no-tabs-edge-case-MD010.md (+3 -0)
test/detailed-results-no-tabs-edge-case-MD010.md.fixed (+3 -0)
test/detailed-results-no-tabs-edge-case-MD010.results.json (+29 -0)

📄 Description

Fixes #384


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/DavidAnson/markdownlint/pull/385 **Author:** [@Yash-Singh1](https://github.com/Yash-Singh1) **Created:** 4/6/2021 **Status:** ✅ Merged **Merged:** 4/9/2021 **Merged by:** [@DavidAnson](https://github.com/DavidAnson) **Base:** `next` ← **Head:** `main` --- ### 📝 Commits (10+) - [`3ab0968`](https://github.com/DavidAnson/markdownlint/commit/3ab0968cac040785c112c4fc22f66da8f18e334b) Add spaces param to MD010 - [`f0e8b88`](https://github.com/DavidAnson/markdownlint/commit/f0e8b88c0fa59e38c00e3d7299c863b743153d71) Renamed spaces to spaces_per_tab - [`37d506e`](https://github.com/DavidAnson/markdownlint/commit/37d506e2fba48959077f8eb7936af3fc7c3d0280) Add docs on spaces_per_tab - [`4db8d7b`](https://github.com/DavidAnson/markdownlint/commit/4db8d7b058d2c818ddf980ecf3f8d787022a2768) Don't require sol to use spaces_per_tab - [`055bed7`](https://github.com/DavidAnson/markdownlint/commit/055bed79db075f72819324ba5877ca30149783e2) Change description as suggested in code review - [`40eac83`](https://github.com/DavidAnson/markdownlint/commit/40eac83c6660ad041050999f5a6ee33619a0921a) Fix tests and build demo - [`be8a560`](https://github.com/DavidAnson/markdownlint/commit/be8a560ef54a5db1e670391b9db57c97d7e22804) Apply suggestions from code review - [`434edc9`](https://github.com/DavidAnson/markdownlint/commit/434edc97d4f113e749d50cb272324c8e1ebd7696) Add test cases - [`45a9fb3`](https://github.com/DavidAnson/markdownlint/commit/45a9fb33c0e4e9ba7020027bde492cf500040a62) Changed versions to v0.0.0 - [`9f56c9a`](https://github.com/DavidAnson/markdownlint/commit/9f56c9a973f78a6d5973d4400553f68777bb9691) Add tests for default spaces and reverted results-objects tests changes ### 📊 Changes **19 files changed** (+157 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `demo/markdownlint-browser.js` (+5 -1) 📝 `doc/Rules.md` (+4 -1) 📝 `lib/md010.js` (+5 -1) 📝 `schema/.markdownlint.jsonc` (+3 -1) 📝 `schema/.markdownlint.yaml` (+2 -0) 📝 `schema/build-config-schema.js` (+5 -0) 📝 `schema/markdownlint-config-schema.json` (+10 -0) ➕ `test/detailed-results-4-tabs-MD010.json` (+7 -0) ➕ `test/detailed-results-4-tabs-MD010.md` (+3 -0) ➕ `test/detailed-results-4-tabs-MD010.md.fixed` (+3 -0) ➕ `test/detailed-results-4-tabs-MD010.results.json` (+29 -0) ➕ `test/detailed-results-default-spaces-MD010.json` (+4 -0) ➕ `test/detailed-results-default-spaces-MD010.md` (+3 -0) ➕ `test/detailed-results-default-spaces-MD010.md.fixed` (+3 -0) ➕ `test/detailed-results-default-spaces-MD010.results.json` (+29 -0) ➕ `test/detailed-results-no-tabs-edge-case-MD010.json` (+7 -0) ➕ `test/detailed-results-no-tabs-edge-case-MD010.md` (+3 -0) ➕ `test/detailed-results-no-tabs-edge-case-MD010.md.fixed` (+3 -0) ➕ `test/detailed-results-no-tabs-edge-case-MD010.results.json` (+29 -0) </details> ### 📄 Description Fixes #384 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-07 20:10:10 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/markdownlint#2703
No description provided.