Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: btford/write-good
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v1.0.2
Choose a base ref
...
head repository: btford/write-good
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v1.0.3
Choose a head ref
  • 3 commits
  • 5 files changed
  • 3 contributors

Commits on Jun 25, 2020

  1. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    74c5f5d View commit details

Commits on Aug 11, 2020

  1. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    50ff263 View commit details
  2. 1.0.3

    RichardLitt committed Aug 11, 2020
    Copy the full SHA
    30681e0 View commit details
Showing with 12 additions and 4 deletions.
  1. +1 −0 .npmignore
  2. +7 −0 .pre-commit-hooks.yaml
  3. +2 −2 README.md
  4. +1 −1 package-lock.json
  5. +1 −1 package.json
1 change: 1 addition & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.pre-commit-hooks.yaml
7 changes: 7 additions & 0 deletions .pre-commit-hooks.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
- id: write-good
name: write-good
description: Check docs for English prose with write-good
entry: write-good
language: node
files: "\\.(rst|md|markdown|mdown|mkdn)$"
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -24,10 +24,10 @@ var suggestions = writeGood('So the cat was stolen.');
// suggestions:
//
// [{
// suggestion: "omit 'So' from the beginning of sentences",
// reason: "omit 'So' from the beginning of sentences",
// index: 0, offset: 2
// }, {
// suggestion: "'was stolen' is passive voice",
// reason: "'was stolen' is passive voice",
// index: 11, offset: 10
// }]
```
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "write-good",
"version": "1.0.2",
"version": "1.0.3",
"description": "Naive linter for English prose",
"main": "write-good.js",
"repository": {