[codespell]
flags = spelling fixme
apt = codespell
command = codespell --quiet-level=3
comment =
 Additional codespell dictionaries need packaging:
 https://github.com/orbitcowboy/codespell_dictionary

[sourcecode-spellchecker]
flags = todo spelling
comment = CPAN Sourcecode::Spellchecker

[spellintian]
flags = spelling perl-bug-588017
apt = lintian
not-dirs =
 .bzr .git .hg .svn CVS RCS SCCS _MTN _darcs .pc
 .cabal-sandbox .cdv .metadata CMakeFiles _build
 _sgbak autom4te.cache blib cover_db node_modules
 ~.dep ~.dot ~.nib ~.plst
not-files =
 *.bak *.swp #.* #*# core.* *~
 *.gif *.jpg *.jpeg *.png
 *.min.js *.js.map *.js.min
 *.min.css *.css.map *.css.min
 *.wav
types = text/plain
command = spellintian --picky {files}

[proselint]
flags = style
apt = python3-proselint
# TODO: update it before releases:
# cat $(python3 -c 'import proselint.command_line as c; print(c.__file__)') | sed -n -e 's/^ *legal_extensions *= *//p' | sed -e 's/^\["/*/; s/"\]$//; s/", *"/ */g'
files = *.md *.txt *.rtf *.html *.tex *.markdown
command = proselint .

# TODO: diction
# TODO: https://jwilk.net/software/mwic
# TODO: https://www.cs.umd.edu/~nspring/software/style-check-readme.html
# TODO: https://github.com/btford/write-good
# TODO: https://www.languagetool.org/ #403619
# TODO: http://jwilk.net/software/anorack
# TODO: https://github.com/decagon/pedant
# TODO: https://github.com/atpaino/deep-text-corrector

# vim:ft=dosini
