Skip to content

Contributed markdownlint rule for limiting sentences per line. πŸ“

License

Notifications You must be signed in to change notification settings

cparros/sentences-per-line

Β 
Β 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

sentences-per-line

Contributed markdownlint rule for limiting sentences per line. πŸ“

All Contributors: 2 πŸ‘ͺ Codecov Test Coverage Contributor Covenant License: MIT Sponsor: On GitHub Style: Prettier TypeScript: Strict npm package version Contributor Covenant

- First sentence. Second sentence.
+ First sentence.
+ Second sentence.

In other words, sentences-per-line makes sure no line contains more than one sentence. This is useful because:

  • Shorter lines result in simpler, easier-to-understand Git diffs
  • Longer lines are harder to read in source code

Usage

First install this package as a devDependency:

npm i -D sentences-per-line

Then provide it to markdownlint-cli's --rules:

markdownlint --rules sentences-per-line

Development

See .github/CONTRIBUTING.md, then .github/DEVELOPMENT.md. Thanks! πŸ’–

Contributors

Andrew Rynhard
Andrew Rynhard

πŸ€”
Josh Goldberg
Josh Goldberg

πŸ”§ πŸ’» πŸ› πŸ€” 🚧 πŸš‡

πŸ’™ This package was templated with create-typescript-app.

About

Contributed markdownlint rule for limiting sentences per line. πŸ“

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 51.3%
  • JavaScript 48.0%
  • Shell 0.7%