mirror of
https://github.com/vacp2p/rfc.git
synced 2025-01-23 21:29:52 +00:00
text-lint (#134)
* started text lint * footnote order * textlint * some more checks * Update README.md * Update wordlist.txt
This commit is contained in:
parent
ddf37e52d3
commit
339e7a0c83
15
.github/workflows/main.yml
vendored
15
.github/workflows/main.yml
vendored
@ -29,3 +29,18 @@ jobs:
|
|||||||
run: npm install
|
run: npm install
|
||||||
- name: Test
|
- name: Test
|
||||||
run: npm run lint
|
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
7
.textlintrc
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
{
|
||||||
|
"filters": {},
|
||||||
|
"rules": {
|
||||||
|
"no-empty-section": true,
|
||||||
|
"footnote-order": true
|
||||||
|
}
|
||||||
|
}
|
@ -54,3 +54,12 @@ npm install
|
|||||||
npm run lint
|
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
1360
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -4,9 +4,13 @@
|
|||||||
"remark-cli": "^6.0.1",
|
"remark-cli": "^6.0.1",
|
||||||
"remark-lint": "^6.0.2",
|
"remark-lint": "^6.0.2",
|
||||||
"remark-preset-lint-recommended": "^3.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": {
|
"scripts": {
|
||||||
|
"textlint": "textlint specs/",
|
||||||
"lint": "remark ."
|
"lint": "remark ."
|
||||||
},
|
},
|
||||||
"remarkConfig": {
|
"remarkConfig": {
|
||||||
|
@ -23,7 +23,7 @@ redirect_from:
|
|||||||
|
|
||||||
## Abstract
|
## 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
|
## Motivation
|
||||||
|
|
||||||
|
@ -111,6 +111,7 @@ subprotocol
|
|||||||
subprotocols
|
subprotocols
|
||||||
TBD
|
TBD
|
||||||
TCP
|
TCP
|
||||||
|
textlint
|
||||||
Thorén
|
Thorén
|
||||||
tla
|
tla
|
||||||
tls
|
tls
|
||||||
|
Loading…
x
Reference in New Issue
Block a user