-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
build: add nix flake for linting + devShell + workflow #1
Conversation
Note: When run locally, the |
Oh wait - there is a Update: I think it's See also: JohnnyMorganz/StyLua#751 |
It's likely because you're not compiling stylua with 5.2 support, which is required for parsing of |
Also a stylua.toml is also considered standard and it picks it up on my end with no problems 🤔 |
Let's see if the fix gets merged on the Nix side: cachix/git-hooks.nix#346 |
This reverts commit 656af5e.
I noticed there's a stylua run in the makefile, but there's no
.stylua.toml
.This adds a Nix flake with:
lua-language-server
,luacheck
,stylua
, ...checks
that run the linters (I also includededitorconfig-checker
, but I'm not sure if we want that?).If we decide to merge this, I would like to follow-up with a
check
that runsbusted
tests usingneorocksTest
.