summaryrefslogtreecommitdiff
path: root/lib/CheckDir.hs (unfollow)
Commit message (Collapse)AuthorFilesLines
2021-12-26separate blocking for separate contextsstuebinm1-1/+1
(audio links now have their own allowlist, which won't put things through the dereferrer)
2021-12-23add suggestions for misspelled propertiesstuebinm1-1/+1
(suggestions are shown only if they have a Damerau-Levenshtein distance <= 4, which seems to yield reasonably good results)
2021-12-23limit output for frequent lintsstuebinm1-1/+0
it's now limited to just the first ten contexts, then an ellipsis
2021-12-18fix broken import from an unhappy rebasestuebinm1-1/+1
2021-12-18change badge output formatstuebinm1-8/+3
(following a discussion with hxchn)
2021-12-18print list of maps in output jsonstuebinm1-0/+1
2021-12-17simple graphviz visualisation of a repositorystuebinm1-3/+7
might be useful to have
2021-12-17some simple graph algorithmsstuebinm1-67/+71
this just checks for maps from which it's impossible to reach `main.json`, and then gives a warning. Properly it should check if these maps have an exit to outside the repository (in which case it may give a suggestion, and an error otherwise). Also, redid some of the CheckDir code. No idea what that mess was, but it's marginally nicer now.
2021-12-16abort copying on missing assetsstuebinm1-1/+3
2021-12-04refuse doubled namesstuebinm1-1/+1
2021-12-02collect badges from object layersstuebinm1-1/+7
this includes a halfway-reasonable parsing of object layers, as well as some monad plumbing to get them all in the right place.
2021-11-28various fixes to bugsstuebinm1-12/+22
Among them - always set correct exit codes - refuse to write out files if the out path already exists - calculate the overall severity correctly - slightly changed the json output schema - also output the text output format in json - make the default config.json suitable for a production environment
2021-11-23why oh why does the prelude contain unsafe functionsstuebinm1-1/+1
some parts of haskell are really, really old …
2021-11-23add a severity attribute to the json outputstuebinm1-11/+16
2021-11-17small fixesstuebinm1-8/+7
2021-11-17exit with code 1 if maximum lint level exceededstuebinm1-8/+18
2021-11-14Functional jitsiRoomAdminTag adjustmentstuebinm1-11/+8
also yet another typeclass™, because why not?
2021-11-10copy map assets (and refuse if any are missing)stuebinm1-2/+9
2021-11-10extra module for repository writeoutstuebinm1-9/+4
2021-11-09first example of a map adjustmentstuebinm1-6/+18
this also includes some more monad plumbing, and an option for the linter to actually write things out again. Some of the previous commit was reverted a bit since it turned out to be stupid, but overall it was suprisingly easy once I got around to it, so yay! i guess Also includes a fairly silly example of how to use it.
2021-10-01rename to walintstuebinm1-25/+25
2021-09-30check if assets existstuebinm1-8/+40
2021-09-30nicer json output which leaks less haskell namesstuebinm1-9/+10
2021-09-30simple map-map link dependency checkingstuebinm1-11/+68
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-23prettier pretty printing and stuffstuebinm1-6/+10
also, configurable log level, which only required relaxing the type system once!
2021-09-23some documentationstuebinm1-2/+11
2021-09-23handle all maps in entire repositoriesstuebinm1-38/+60
(+ checking that paths don't run outside of respositories)
2021-09-23very naïve handling of directoriesstuebinm1-0/+76