build: replace luacheck with selene, add nix devshell and pre-commit #20
No reviewers
Labels
No labels
autorelease: pending
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
upstream/digest
upstream/pr
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
barrettruth/canola.nvim!20
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "build/dev-tooling"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
The dev tooling had several gaps: luacheck is unmaintained and required heavy
suppression, there was no reproducible dev environment (the .envrc set up a
Python venv for the now-removed docgen pipeline), and there were no pre-commit
hooks for local formatting.
Solution
Two commits:
Replace luacheck with selene — selene has first-class vim awareness
(
std = 'vim'), is actively maintained, and needs less suppression config.Updated CI job and Makefile lint target accordingly.
Add nix devshell and pre-commit hooks — flake.nix provides stylua,
selene, and prettier in a reproducible shell. Replaced the stale Python
.envrc with
use flake. Added .pre-commit-config.yaml with stylua andprettier hooks matching the other plugins in the collection.