mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2026-04-25 01:05:55 +03:00
[PR #86] [CLOSED] Moved rules into their own files #2663
Labels
No labels
bug
enhancement
enhancement
enhancement
fixed in next
fixed in next
fixed in next
new rule
new rule
new rule
pull-request
question
refactoring
refactoring
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/markdownlint#2663
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/DavidAnson/markdownlint/pull/86
Author: @JoshuaKGoldberg
Created: 10/30/2017
Status: ❌ Closed
Base:
master← Head:rule-files-split📝 Commits (1)
b63647fMoved rules into their own files📊 Changes
43 files changed (+1283 additions, -1177 deletions)
View changed files
➕
lib/expressions.js(+18 -0)📝
lib/rules.js(+40 -1177)➕
lib/rules/blanksAroundFences.js(+19 -0)➕
lib/rules/blanksAroundHeaders.js(+34 -0)➕
lib/rules/blanksAroundLists.js(+33 -0)➕
lib/rules/commandsShowOutput.js(+24 -0)➕
lib/rules/fencedCodeLanguage.js(+16 -0)➕
lib/rules/firstHeaderH1.js(+18 -0)➕
lib/rules/firstLineH1.js(+32 -0)➕
lib/rules/headerIncrement.js(+20 -0)➕
lib/rules/headerStartLeft.js(+17 -0)➕
lib/rules/headerStyle.js(+38 -0)➕
lib/rules/hrStyle.js(+19 -0)➕
lib/rules/lineLength.js(+46 -0)➕
lib/rules/listIndent.js(+18 -0)➕
lib/rules/listMarkerSpace.js(+28 -0)➕
lib/rules/noBareUrls.js(+27 -0)➕
lib/rules/noBlanksBlockQuote.js(+17 -0)➕
lib/rules/noDuplicateHeader.js(+19 -0)➕
lib/rules/noEmphasisAsHeader.js(+41 -0)...and 23 more files
📄 Description
Everything under
lib/rules/*is a rules file (with the name of the rule in camelCase), re-exported into an array inlib/rules.js.Moved the regular expressions from
lib/rules.jstolib/expressions.js, and the rest of the variables intolib/shared.js.Fixes #83.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.