add husky/lint-staged

This commit is contained in:
Jan T. Sott 2022-07-20 07:56:22 +02:00
parent 6427d07998
commit 2cf49d26bd
2 changed files with 414 additions and 0 deletions

View file

@ -29,7 +29,12 @@
},
"homepage": "https://github.com/idleberg/Creative-Commons-Markdown#readme",
"devDependencies": {
"husky": "^8.0.1",
"lint-staged": "^13.0.3",
"remark-cli": "^11.0.0",
"remark-lint": "^9.1.1"
},
"lint-staged": {
"*.{md|markdown}": "remark -u lint"
}
}