| Commit message (Collapse) | Author | Files | Lines |
|
|
|
this has been bothering me for MONTHS, and it compiles faster now. also fixed some warnings
|
|
|
|
(though this time it doesn't seem to do much, if anything)
|
|
|
|
|
|
also don't keep adjusted maps around if not necessary
|
|
(also some evaluateNF, leading to slightly less memory usage)
|
|
|
|
as annoying as yaml is, cabal's package format is somehow worse, apparently
|
|
|
|
don't add maps to the result if their lint result looks the same as that
of another list, just say it happened several times instead (this leads
to a rather confusing Eq instance for MapResult which implements a very
simple surface-level equality — perhaps change that later)
|
|
(audio links now have their own allowlist, which won't put things
through the dereferrer)
|
|
(suggestions are shown only if they have a Damerau-Levenshtein distance
<= 4, which seems to yield reasonably good results)
|
|
it's now limited to just the first ten contexts, then an ellipsis
|
|
|
|
(following a discussion with hxchn)
|
|
|
|
might be useful to have
|
|
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.
|
|
|
|
|
|
this includes a halfway-reasonable parsing of object layers, as well as
some monad plumbing to get them all in the right place.
|
|
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
|
|
some parts of haskell are really, really old …
|
|
|
|
|
|
|
|
also yet another typeclass™, because why not?
|
|
|
|
|
|
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.
|
|
|
|
|
|
|
|
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.
|
|
also, configurable log level, which only required relaxing the type
system once!
|
|
|
|
(+ checking that paths don't run outside of respositories)
|
|
|