summaryrefslogtreecommitdiff
path: root/lib/Paths.hs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* make link adjustments configurablestuebinm2021-11-201-12/+9
| | | | | | this allows for creating custom URI "schemas" in the linter's config, which may be either allowed, prefixed, or translated according to some (domain-based) substitution.
* add domain allow- and blocklists for weblinksstuebinm2021-11-191-0/+10
| | | | | | (these use a rather crude regex for parsing, which may be possible to side-step, and which should probably be replaced by something that was actually written while following the relevant rfc)
* simple map-map link dependency checkingstuebinm2021-09-301-1/+6
| | | | | | | | This is purely based on a set difference, i.e. it won't catch stupid things like a map linking to itself, a map link going only one-way, etc. Also, it only handles map links; it doesn't check if all ressource files referenced by a map actually exist.
* some documentationstuebinm2021-09-231-3/+9
|
* handle all maps in entire repositoriesstuebinm2021-09-231-6/+10
| | | | (+ checking that paths don't run outside of respositories)
* very naïve handling of directoriesstuebinm2021-09-231-4/+13
|
* typechecking for path depths!stuebinm2021-09-201-0/+31
This now checks if relative paths are still inside the repository, as a general safety mechanism to stop the linter from accidentally reading other things, as well as a nice hint for users.