summaryrefslogtreecommitdiff
path: root/scripts/lint.sh (follow)
Commit message (Collapse)AuthorAgeFilesLines
* *.go, schema.sql, staff.html: Implement state settingRunxi Yu2024-10-091-1/+1
| | | | References: https://todo.sr.ht/~runxiyu/cca/13
* *: Overhaul structure again and embed everythingRunxi Yu2024-10-061-1/+0
| | | | | | | | - Remove sub-Makefiles; recursive make is annoying - Just use one top-level Makefile that builds everything - Embed templates and minified static resources into the binary - Embed all compiled documentation into the binary and serve - Embed all source into the binary and serve
* *.go: Move to backendRunxi Yu2024-10-051-0/+2
| | | | And adjust Makefiles, admin handbook, and lint.sh accordingly.
* lint.sh: Disable nonamedreturnsRunxi Yu2024-10-031-1/+1
| | | | I used named returns to inspect return values (especially error values)
* lint.sh: Disable dogsled and unparamRunxi Yu2024-10-011-1/+1
| | | | | | | dogsled forbids patterns such as "_, _, _ = a, b, c" for no reason. unparam warns about unused parameters even when I'm assigning them to _ to indicate that it's fine for them to be unused.
* lint.sh: Disable yet another cyclomatic complexity checkerRunxi Yu2024-10-011-1/+1
|
* lint.sh: Disable yet another cyclomatic complexity checkerRunxi Yu2024-10-011-1/+1
|
* lint.sh: Disable gocognitRunxi Yu2024-09-291-1/+1
|
* lint.sh: Add #!/bin/shRunxi Yu2024-09-261-0/+1
|
* *.go: Wrap errorsRunxi Yu2024-09-261-1/+1
|
* lint.sh: Disable some bad checkersRunxi Yu2024-09-261-1/+1
|
* docs, scripts, sql: Sort support files into subdirectoriesRunxi Yu2024-09-241-0/+1