summaryrefslogtreecommitdiff
path: root/lib/Paths.hs (unfollow)
Commit message (Collapse)AuthorFilesLines
2021-11-20make link adjustments configurablestuebinm1-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.
2021-11-19add domain allow- and blocklists for weblinksstuebinm1-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)
2021-09-30simple map-map link dependency checkingstuebinm1-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.
2021-09-23some documentationstuebinm1-3/+9
2021-09-23handle all maps in entire repositoriesstuebinm1-6/+10
(+ checking that paths don't run outside of respositories)
2021-09-23very naïve handling of directoriesstuebinm1-4/+13
2021-09-20typechecking for path depths!stuebinm1-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.