chore: rename lint
script to format
, tell prettier to ignore markdown files
This commit is contained in:
parent
34c7fa8312
commit
69b2e2a955
@ -12,3 +12,6 @@ deps
|
|||||||
apps/ssb/tribute.esm.js
|
apps/ssb/tribute.esm.js
|
||||||
apps/api/app.js
|
apps/api/app.js
|
||||||
**/emojis.json
|
**/emojis.json
|
||||||
|
|
||||||
|
# only markdownlint should deal with the documentation
|
||||||
|
docs/**/*.md
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
{
|
{
|
||||||
"name": "tildefriends",
|
"name": "tildefriends",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"lint": "npm run prettier && npm run markdown",
|
"format": "npm run prettier && npm run markdown",
|
||||||
"prettier": "prettier --cache --write --check .",
|
"prettier": "npx prettier --cache --write --check .",
|
||||||
"markdown": "npx markdownlint-cli 'docs/**/*.md' -f"
|
"markdown": "npx markdownlint-cli 'docs/**/*.md' -f"
|
||||||
},
|
},
|
||||||
"author": "Cory McWilliams",
|
"author": "Cory McWilliams",
|
||||||
|
Loading…
Reference in New Issue
Block a user