Merge pull request #94 from status-im/feature/remark

feature/remark
This commit is contained in:
Oskar Thorén 2020-03-27 14:27:29 +08:00 committed by GitHub
commit 4e76a8a25c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 61 additions and 0 deletions

30
.remarkrc Normal file
View File

@ -0,0 +1,30 @@
{
"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-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": "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"
]
}
}