1
0
Fork 0
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:
Shane Frasier 2019-06-24 21:57:25 -04:00 committed by GitHub
commit 0c5dacae8b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 18 additions and 13 deletions

7
.mdl_config.json Normal file
View file

@ -0,0 +1,7 @@
{
"MD013": {
"code_blocks": false,
"tables": false
},
"default": true
}

View file

@ -23,15 +23,13 @@ repos:
- id: requirements-txt-fixer - id: requirements-txt-fixer
- id: trailing-whitespace - id: trailing-whitespace
- repo: https://github.com/igorshubovych/markdownlint-cli - repo: https://github.com/igorshubovych/markdownlint-cli
rev: v0.16.0 rev: v0.17.0
hooks: hooks:
- id: markdownlint - id: markdownlint
# The LICENSE.md must match the license text exactly for args:
# GitHub's autorecognition fu to work, so we should leave it - --config=.mdl_config.json
# alone.
exclude: LICENSE.md
- repo: https://github.com/adrienverge/yamllint - repo: https://github.com/adrienverge/yamllint
rev: v1.15.0 rev: v1.16.0
hooks: hooks:
- id: yamllint - id: yamllint
- repo: https://github.com/detailyang/pre-commit-shell - repo: https://github.com/detailyang/pre-commit-shell
@ -45,11 +43,11 @@ repos:
additional_dependencies: additional_dependencies:
- flake8-docstrings - flake8-docstrings
- repo: https://github.com/asottile/pyupgrade - repo: https://github.com/asottile/pyupgrade
rev: v1.18.0 rev: v1.19.0
hooks: hooks:
- id: pyupgrade - id: pyupgrade
- repo: https://github.com/PyCQA/bandit - repo: https://github.com/PyCQA/bandit
rev: 1.6.0 rev: 1.6.1
hooks: hooks:
- id: bandit - id: bandit
args: args:
@ -73,6 +71,6 @@ repos:
hooks: hooks:
- id: docker-compose-check - id: docker-compose-check
- repo: https://github.com/prettier/prettier - repo: https://github.com/prettier/prettier
rev: 1.17.1 rev: 1.18.2
hooks: hooks:
- id: prettier - id: prettier

View file

@ -8,8 +8,8 @@ of contribution, and don't want a wall of rules to get in the way of
that. that.
Before contributing, we encourage you to read our CONTRIBUTING policy Before contributing, we encourage you to read our CONTRIBUTING policy
(you are here), our [LICENSE](LICENSE.md), and our (you are here), our [LICENSE](LICENSE), and our [README](README.md),
[README](README.md), all of which should be in this repository. all of which should be in this repository.
## Issues ## ## Issues ##

View file

View file

@ -4,7 +4,7 @@
This is a generic skeleton project that can be used to quickly get a This is a generic skeleton project that can be used to quickly get a
new [cisagov](https://github.com/cisagov) GitHub project started. 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 well as [pre-commit hooks](https://pre-commit.com) and a [Travis
CI](https://travis-ci.com) configuration appropriate for the major CI](https://travis-ci.com) configuration appropriate for the major
languages that we use. languages that we use.
@ -19,7 +19,7 @@ details.
## License ## ## 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 This project is in the public domain within the United States, and
copyright and related rights in the work worldwide are waived through copyright and related rights in the work worldwide are waived through