-
-
Notifications
You must be signed in to change notification settings - Fork 157
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
✨ feat(package.json): add lint:md script
This commit adds a new script to the `package.json` file that uses the `remark` tool to perform markdown linting. The script is designed to check all markdown files in the repository and fix any issues found. The changes include adding a new property to the package.json file and modifying the `lint-staged` property to use the new script for markdown files instead of using `remark-gfm`.
- Loading branch information
1 parent
75e05c0
commit baab529
Showing
4 changed files
with
24 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
const config = { | ||
plugins: [ | ||
'remark-preset-lint-recommended', | ||
['remark-lint-list-item-indent', 'space'], | ||
['remark-lint-no-literal-urls', false], | ||
], | ||
}; | ||
|
||
module.exports = config; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters