text-lint (#134)

* started text lint

* footnote order

* textlint

* some more checks

* Update README.md

* Update wordlist.txt
This commit is contained in:
Dean Eigenmann 2020-05-25 11:55:06 +02:00 committed by GitHub
parent ddf37e52d3
commit 339e7a0c83
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 1398 additions and 2 deletions

View File

@ -29,3 +29,18 @@ jobs:
run: npm install
- name: Test
run: npm run lint
textlint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Node.js
uses: actions/setup-node@master
with:
node-version: 13
- name: Install
run: npm install
- name: Test
run: npm run textlint

7
.textlintrc Normal file
View File

@ -0,0 +1,7 @@
{
"filters": {},
"rules": {
"no-empty-section": true,
"footnote-order": true
}
}

View File

@ -54,3 +54,12 @@ npm install
npm run lint
```
### Textlint
We use [textlint](https://textlint.github.io/) for extra markdown verification. You can easily run this tool simply by using our `npm` package:
```console
npm install
npm run textlint
```

1360
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -4,9 +4,13 @@
"remark-cli": "^6.0.1",
"remark-lint": "^6.0.2",
"remark-preset-lint-recommended": "^3.0.2",
"remark-validate-links": "^10.0.0"
"remark-validate-links": "^10.0.0",
"textlint": "^11.6.3",
"textlint-rule-footnote-order": "^1.0.3",
"textlint-rule-no-empty-section": "^1.1.0"
},
"scripts": {
"textlint": "textlint specs/",
"lint": "remark ."
},
"remarkConfig": {

View File

@ -23,7 +23,7 @@ redirect_from:
## Abstract
In this specification, we describe a method to construct message history that will aid the consistency guarantees of [MVDS](mvds.md). Additionally we explain how data sync can be used for more lightweight messages that do not require full synchronization.
In this specification, we describe a method to construct message history that will aid the consistency guarantees of [MVDS](mvds.md). Additionally, we explain how data sync can be used for more lightweight messages that do not require full synchronization.
## Motivation

View File

@ -111,6 +111,7 @@ subprotocol
subprotocols
TBD
TCP
textlint
Thorén
tla
tls