mirror of https://github.com/status-im/specs.git
adds remark
This commit is contained in:
parent
6fcce8644b
commit
e1cbe03da9
|
@ -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": "*"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,15 @@
|
|||
sudo: required
|
||||
|
||||
dist: trusty
|
||||
|
||||
language: node_js
|
||||
|
||||
node_js:
|
||||
- "8"
|
||||
|
||||
script:
|
||||
- npm run lint
|
||||
|
||||
notifications:
|
||||
email: false
|
||||
|
|
@ -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"
|
||||
]
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue