adds remark

This commit is contained in:
decanus 2020-03-26 13:30:37 +01:00
parent 6fcce8644b
commit e1cbe03da9
No known key found for this signature in database
GPG Key ID: 3730AAF5D6589867
3 changed files with 62 additions and 0 deletions

31
.remarkrc Normal file
View File

@ -0,0 +1,31 @@
{
"presets": ["lint-recommended", "lint-consistent"],
"plugins": {
"remark-lint": {
"unordered-list-marker-style": "consistent",
"list-item-bullet-indent": true,
"list-item-indent": false,
"list-item-spacing": false,
"no-html": false,
"maximum-line-length": false,
"no-file-name-mixed-case": false,
"heading-increment": false,
"no-multiple-toplevel-headings": true,
"no-consecutive-blank-lines": false,
"maximum-line-length": 9000,
"maximum-heading-length": 300,
"no-heading-punctuation": false,
"no-duplicate-headings": false,
"emphasis-marker": "*",
"no-tabs": true,
"blockquote-indentation": false,
"strong-marker": "*"
}
},
"settings": {
"bullet": "*",
"listItemIndent": "2",
"strong": "*",
"emphasis": "*"
}
}

15
.travis.yml Normal file
View File

@ -0,0 +1,15 @@
sudo: required
dist: trusty
language: node_js
node_js:
- "8"
script:
- npm run lint
notifications:
email: false

16
package.json Normal file
View File

@ -0,0 +1,16 @@
{
"name": "@vacp2p/specs",
"dependencies": {
"remark-cli": "^6.0.1",
"remark-lint": "^6.0.2",
"remark-preset-lint-recommended": "^3.0.2"
},
"scripts": {
"lint": "remark ."
},
"remarkConfig": {
"plugins": [
"remark-preset-lint-recommended"
]
}
}