diff --git a/pymarkdown.json b/pymarkdown.json new file mode 100644 index 000000000..bedb67136 --- /dev/null +++ b/pymarkdown.json @@ -0,0 +1,35 @@ +{ + "mode": { + "strict-config": true + }, + "plugins": { + "line-length": { + "enabled": false + }, + "no-duplicate-heading": { + "enabled": true, + "siblings_only": true + }, + "no-inline-html": { + "enabled": false + }, + "ol-prefix": { + "style": "ordered" + }, + "hr-style": { + "style": "---" + }, + "fenced-code-language": { + "enabled": true + }, + "ul-style": { + "enabled": true, + "style": "asterisk" + } + }, + "extensions": { + "front-matter": { + "enabled": true + } + } +} diff --git a/tox.ini b/tox.ini new file mode 100644 index 000000000..f8f15f6c9 --- /dev/null +++ b/tox.ini @@ -0,0 +1,10 @@ +[tox] +envlist = lint + +[testenv:lint] +skipsdist = True +pip_pre = True +deps = + pymarkdownlnt +commands = + pymarkdown --config pymarkdown.json scan . docs