Skip to content

Commit 2b7d2d8

Browse files
authored
Merge branch 'master' into update-docs
2 parents 7579662 + 37601b0 commit 2b7d2d8

File tree

3 files changed

+10
-0
lines changed

3 files changed

+10
-0
lines changed

README.md

+1
Original file line numberDiff line numberDiff line change
@@ -289,6 +289,7 @@ clang-format supports.
289289

290290
- [luacheck](https://github.com/mpeterv/luacheck)
291291
- [lua-ls](https://github.com/LuaLS/lua-language-server)
292+
- [selene](https://github.com/Kampfkarren/selene)
292293
- [stylua](https://github.com/JohnnyMorganz/StyLua)
293294

294295
### Markdown

modules/hooks.nix

+7
Original file line numberDiff line numberDiff line change
@@ -3714,6 +3714,13 @@ lib.escapeShellArgs (lib.concatMap (ext: [ "--ghc-opt" "-X${ext}" ]) hooks.fourm
37143714
files = "\\.rs$";
37153715
pass_filenames = false;
37163716
};
3717+
selene = {
3718+
name = "selene";
3719+
description = "A blazing-fast modern Lua linter written in Rust.";
3720+
types = [ "lua" ];
3721+
package = tools.selene;
3722+
entry = "${hooks.selene.package}/bin/selene";
3723+
};
37173724
shellcheck =
37183725
{
37193726
name = "shellcheck";

nix/tools.nix

+2
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@
6868
, reuse
6969
, ruff ? null
7070
, rustfmt
71+
, selene
7172
, shellcheck
7273
, bats
7374
, shfmt
@@ -158,6 +159,7 @@ in
158159
ripsecrets
159160
ruff
160161
rustfmt
162+
selene
161163
shellcheck
162164
shfmt
163165
statix

0 commit comments

Comments
 (0)