Files
vimpack/.luacheckrc
unkin-agent 949fe00f6a Validate archive entries and stage inside the pack root
- Reject archive members that are absolute, escape via .., are special files or link outside the destination, before anything is written

- Stage under the pack root so the swap is a same-filesystem rename, with an EXDEV copy fallback; propagate auth errors, validate dir_name
2026-09-05 16:25:49 +10:00

15 lines
434 B
Lua

std = 'luajit'
cache = true
max_line_length = 140
-- vim.g / vim.env are written to, so `vim` is not read-only here.
globals = { 'vim' }
files['tests/'] = {
read_globals = { 'describe', 'it', 'assert_eq', 'assert_true', 'assert_nil', 'assert_match', 'tmpdir', 'otherfs_dir' },
}
files['tests/minimal.lua'] = {
globals = { 'describe', 'it', 'assert_eq', 'assert_true', 'assert_nil', 'assert_match', 'tmpdir', 'otherfs_dir' },
}