summaryrefslogtreecommitdiff
path: root/walint.cabal (unfollow)
Commit message (Collapse)AuthorFilesLines
2021-12-23add suggestions for misspelled propertiesstuebinm1-1/+2
(suggestions are shown only if they have a Damerau-Levenshtein distance <= 4, which seems to yield reasonably good results)
2021-12-22print version information on --versionstuebinm1-1/+4
If --version is given, `walint` prints version information, then exists with code 0.
2021-12-17simple graphviz visualisation of a repositorystuebinm1-1/+2
might be useful to have
2021-12-17some simple graph algorithmsstuebinm1-1/+3
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-16fixed some warnings (and disabled others)stuebinm1-1/+1
So far i've never found an instance of -Wname-shadowing telling me anything useful, so it's disabled now, and most of the other trivial ones are fixed. (I assume this means I'll need -Wname-shadowing in about a day or two to find some bug ...)
2021-12-08rudimentary linting for overlapping layersstuebinm1-0/+1
2021-12-04lots of code reorganising and some deduplicationstuebinm1-2/+2
it was kinda getting messy in places. Also found some accidental isomorphisms between types, so these are now only one type because the consequences were getting silly.
2021-12-02collect badges from object layersstuebinm1-0/+1
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-20make link adjustments configurablestuebinm1-0/+1
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-14too much type level stuff to read a config filestuebinm1-0/+2
This got kinda out of hand, but it can now (a) read a json config file and (b) patch that with another json given on the command line to change some of the options given in the file. No, I probably didn't need to make the `patch` function sufficiently general to work with arbitrary records, but it was kinda fun to do.
2021-11-10extra module for repository writeoutstuebinm1-0/+1
2021-10-04relax dependency versionsstuebinm1-2/+2
2021-10-04removed unnecessary dependencystuebinm1-1/+1
2021-10-01rename to walintstuebinm1-4/+4
2021-09-30nicer json output which leaks less haskell namesstuebinm1-1/+2
2021-09-23prettier pretty printing and stuffstuebinm1-0/+1
also, configurable log level, which only required relaxing the type system once!
2021-09-23handle all maps in entire repositoriesstuebinm1-0/+1
(+ checking that paths don't run outside of respositories)
2021-09-23very naïve handling of directoriesstuebinm1-0/+1
2021-09-20simple parsing of local dependency pathsstuebinm1-1/+3
2021-09-18moved types into Types.hsstuebinm1-0/+1
it's almost as if there's some structure to this code!
2021-09-16input options, output jsonstuebinm1-6/+8
input options are mostly dummies for now, but some work (e.g. --inpath and --json). Lints can now be optionally printed as json to be reasonably machine-readable (and the json can be pretty-printed to make it human-readable again …).
2021-09-16moving lots of code aroundstuebinm1-8/+27
(also renaming things now that concepts seem a bit clearer)