Update tooling, fix luau analyze errors

This commit is contained in:
Filip Tibell 2024-01-04 20:00:44 +01:00
parent c9ce29741b
commit 5040deddb6
No known key found for this signature in database
4 changed files with 9 additions and 8 deletions

View file

@ -65,9 +65,10 @@ fmt-check:
analyze:
#!/usr/bin/env bash
set -euo pipefail
luau-lsp analyze .lune scripts tests types \
luau-lsp analyze \
--settings=".vscode/settings.json" \
--ignore="tests/roblox/rbx-test-files/**"
--ignore="tests/roblox/rbx-test-files/**" \
.lune scripts tests types
# Zips up the built binary into a single zip file
[no-exit-message]

View file

@ -171,7 +171,7 @@ local apiResult = net.request({
method = "PATCH",
headers = {
["Content-Type"] = "application/json",
},
} :: { [string]: string },
body = net.jsonEncode({
title = "foo",
body = "bar",

View file

@ -1,4 +1,4 @@
[tools]
luau-lsp = "JohnnyMorganz/luau-lsp@1.24.1"
selene = "Kampfkarren/selene@0.25.0"
stylua = "JohnnyMorganz/StyLua@0.18.2"
luau-lsp = "JohnnyMorganz/luau-lsp@1.27.0"
selene = "Kampfkarren/selene@0.26.1"
stylua = "JohnnyMorganz/StyLua@0.19.1"

View file

@ -6,7 +6,7 @@ local response = net.request({
url = "https://httpbingo.org/gzip",
headers = {
["Accept-Encoding"] = "gzip",
},
} :: { [string]: string },
})
assert(
@ -33,7 +33,7 @@ local response2 = net.request({
url = "https://httpbingo.org/gzip",
headers = {
["Accept-Encoding"] = "gzip",
},
} :: { [string]: string },
options = { decompress = false },
})