mirror of
https://github.com/cisagov/log4j-affected-db.git
synced 2024-11-22 16:40:48 +00:00
Merge pull request #16 from cisagov/improvement/markdownlint_config
Add markdownlint config
This commit is contained in:
commit
0c5dacae8b
5 changed files with 18 additions and 13 deletions
7
.mdl_config.json
Normal file
7
.mdl_config.json
Normal file
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"MD013": {
|
||||
"code_blocks": false,
|
||||
"tables": false
|
||||
},
|
||||
"default": true
|
||||
}
|
|
@ -23,15 +23,13 @@ repos:
|
|||
- id: requirements-txt-fixer
|
||||
- id: trailing-whitespace
|
||||
- repo: https://github.com/igorshubovych/markdownlint-cli
|
||||
rev: v0.16.0
|
||||
rev: v0.17.0
|
||||
hooks:
|
||||
- id: markdownlint
|
||||
# The LICENSE.md must match the license text exactly for
|
||||
# GitHub's autorecognition fu to work, so we should leave it
|
||||
# alone.
|
||||
exclude: LICENSE.md
|
||||
args:
|
||||
- --config=.mdl_config.json
|
||||
- repo: https://github.com/adrienverge/yamllint
|
||||
rev: v1.15.0
|
||||
rev: v1.16.0
|
||||
hooks:
|
||||
- id: yamllint
|
||||
- repo: https://github.com/detailyang/pre-commit-shell
|
||||
|
@ -45,11 +43,11 @@ repos:
|
|||
additional_dependencies:
|
||||
- flake8-docstrings
|
||||
- repo: https://github.com/asottile/pyupgrade
|
||||
rev: v1.18.0
|
||||
rev: v1.19.0
|
||||
hooks:
|
||||
- id: pyupgrade
|
||||
- repo: https://github.com/PyCQA/bandit
|
||||
rev: 1.6.0
|
||||
rev: 1.6.1
|
||||
hooks:
|
||||
- id: bandit
|
||||
args:
|
||||
|
@ -73,6 +71,6 @@ repos:
|
|||
hooks:
|
||||
- id: docker-compose-check
|
||||
- repo: https://github.com/prettier/prettier
|
||||
rev: 1.17.1
|
||||
rev: 1.18.2
|
||||
hooks:
|
||||
- id: prettier
|
||||
|
|
|
@ -8,8 +8,8 @@ of contribution, and don't want a wall of rules to get in the way of
|
|||
that.
|
||||
|
||||
Before contributing, we encourage you to read our CONTRIBUTING policy
|
||||
(you are here), our [LICENSE](LICENSE.md), and our
|
||||
[README](README.md), all of which should be in this repository.
|
||||
(you are here), our [LICENSE](LICENSE), and our [README](README.md),
|
||||
all of which should be in this repository.
|
||||
|
||||
## Issues ##
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
This is a generic skeleton project that can be used to quickly get a
|
||||
new [cisagov](https://github.com/cisagov) GitHub project started.
|
||||
This skeleton project contains [licensing information](LICENSE.md), as
|
||||
This skeleton project contains [licensing information](LICENSE), as
|
||||
well as [pre-commit hooks](https://pre-commit.com) and a [Travis
|
||||
CI](https://travis-ci.com) configuration appropriate for the major
|
||||
languages that we use.
|
||||
|
@ -19,7 +19,7 @@ details.
|
|||
|
||||
## License ##
|
||||
|
||||
This project is in the worldwide [public domain](LICENSE.md).
|
||||
This project is in the worldwide [public domain](LICENSE).
|
||||
|
||||
This project is in the public domain within the United States, and
|
||||
copyright and related rights in the work worldwide are waived through
|
||||
|
|
Loading…
Reference in a new issue