mirror of
https://github.com/oceanprotocol/docs.git
synced 2024-11-26 19:49:26 +01:00
setup markdownlint
This commit is contained in:
parent
796fdbcf9c
commit
f7a5177f6f
@ -8,5 +8,5 @@ indent_style = space
|
||||
insert_final_newline = true
|
||||
trim_trailing_whitespace = true
|
||||
|
||||
[*.{json,yml,yaml}]
|
||||
[*.{json,yml,yaml,md}]
|
||||
indent_size = 2
|
||||
|
15
.markdownlint.json
Normal file
15
.markdownlint.json
Normal file
@ -0,0 +1,15 @@
|
||||
{
|
||||
"default": true,
|
||||
"whitespace": false,
|
||||
"line-length": false,
|
||||
"ul-start-left": false,
|
||||
"ul-indent": false,
|
||||
"no-inline-html": false,
|
||||
"no-bare-urls": false,
|
||||
"first-line-h1": false,
|
||||
"first-heading-h1": false,
|
||||
"blanks-around-fences": false,
|
||||
"no-trailing-punctuation": false,
|
||||
"ol-prefix": false,
|
||||
"ul-style": { "style": "dash" }
|
||||
}
|
@ -46,9 +46,11 @@
|
||||
"ssr": "npm run build && serve -s public/",
|
||||
"format:js": "prettier --write 'src/**/*.{js,jsx}'",
|
||||
"format:css": "prettier-stylelint --write --quiet 'src/**/*.{css,scss}'",
|
||||
"format:md": "prettier --write './content/**/*.md' --no-semi",
|
||||
"format": "run-p format:js format:css",
|
||||
"lint:js": "eslint ./gatsby-*.js && eslint ./src/**/*.{js,jsx}",
|
||||
"lint:css": "stylelint ./src/**/*.{css,scss}",
|
||||
"lint:md": "markdownlint './content/**/*.md'",
|
||||
"lint": "run-p lint:js lint:css",
|
||||
"test": "npm run lint"
|
||||
},
|
||||
@ -59,9 +61,11 @@
|
||||
"eslint-config-oceanprotocol": "^1.3.0",
|
||||
"eslint-config-prettier": "^3.1.0",
|
||||
"eslint-plugin-prettier": "^3.0.0",
|
||||
"markdownlint-cli": "^0.13.0",
|
||||
"npm-run-all": "^4.1.3",
|
||||
"prettier": "^1.15.1",
|
||||
"prettier-stylelint": "^0.4.2",
|
||||
"stylelint": "^9.8.0",
|
||||
"stylelint-config-bigchaindb": "^1.2.1",
|
||||
"stylelint-config-css-modules": "^1.3.0",
|
||||
"stylelint-config-standard": "^18.2.0"
|
||||
|
Loading…
Reference in New Issue
Block a user