2
0
mirror of https://github.com/lnbook/lnbook synced 2024-11-08 19:10:35 +00:00
Commit Graph

13 Commits

Author SHA1 Message Date
practicalswift
aba2f7f429 travis: Add linter checking for proper end-of-line punctuation 2019-09-29 19:51:16 +00:00
Andreas M. Antonopoulos
7bfb8a0bd8 I broke the travis! 2019-09-28 10:53:14 -04:00
Andreas M. Antonopoulos
1f41205d24 Show line numbers on Travis errors
grep -n (line numbers)
grep --color (colorize output)
2019-09-28 10:43:42 -04:00
Andreas M. Antonopoulos
59258fd3b7
Merge branch 'develop' into go-misspell 2019-09-28 10:21:35 -04:00
practicalswift
d6077124ae linter: Add spell checker "misspell" (Go) 2019-09-22 14:02:55 +00:00
practicalswift
a74436ccad travis: Add linter to detect incorrect capitalization or when the end of a sentence is not on the same line as the beginning of the sentence 2019-09-22 08:19:59 +00:00
practicalswift
4b418666e6 travis: Add linter to make sure all lines end with a newline character (#68)
* travis: Add linter to make sure all lines end with a newline character

Ending newlines make line based Unix tools such as `tail`, etc work as expected.

Without ending newline:

```
prompt$ tail -1 ch02.asciidoc
* blockchain to save all transactions vs blockchain as a court system prompt$
```

With ending newline:

```
prompt$ tail -1 ch02.asciidoc
* blockchain to save all transactions vs blockchain as a court system
prompt$
```

Also, makes `git` not complain about "No newline at end of file" in diffs.

* Add newline at end of file

* Remove trailing whitespace
2019-09-20 13:48:52 -06:00
practicalswift
b903077184 travis: Add linter to detect multiple blank lines between paragraphs (#66)
* travis: Add linter to detect multiple blank lines between paragraphs

* Use one blank line between paragraphs

* Remove trailing spaces
2019-09-20 13:46:48 -06:00
practicalswift
e6c63788d3 travis: Add linter for lexical illusions (duplicate words) (#64) 2019-09-16 16:32:07 -06:00
practicalswift
853c2187d0 travis: Use "exit 1" in case of linter failure (#62)
* travis: Use "exit 1" in case of linter failure

* Fix double spacing
2019-09-16 11:18:31 -06:00
practicalswift
8b8badc050 travis: Add linter to detect "Satoshi style" double spacing (#61)
* Remove double spaces

* travis: Add linter to detect double spacing
2019-09-16 10:47:01 -06:00
practicalswift
c0d3b46e9f travis: Add linter to make sure Unix style line endings are used. Add trailing whitespace linter. Fix typos. (#60)
* travis: Add linter to make sure Unix style line endings are used

* Fix typos

* travis: Add linter to detect trailing spaces at end of line

* Remove trailing whitespace

* Use consistent indentation

* travis: Add linter guarding against use of tabs
2019-09-16 10:38:23 -06:00
practicalswift
d8a8343408 travis: Add automatic spell checking of new pull requests using codespell (#29) 2019-09-10 12:34:13 -06:00