diff --git a/aftman.toml b/aftman.toml index ffc23c0b..7250fe8c 100644 --- a/aftman.toml +++ b/aftman.toml @@ -1,5 +1,5 @@ [tools] just = "readysetplay/just@1.8.0" -luau-lsp = "JohnnyMorganz/luau-lsp@1.15.0" +luau-lsp = "JohnnyMorganz/luau-lsp@1.20.0" selene = "Kampfkarren/selene@0.24.0" -stylua = "JohnnyMorganz/StyLua@0.16.0" +stylua = "JohnnyMorganz/StyLua@0.17.0" diff --git a/stylua.toml b/stylua.toml index ef2b3cfb..40589d6f 100644 --- a/stylua.toml +++ b/stylua.toml @@ -1,10 +1,9 @@ column_width = 100 - line_endings = "Unix" - indent_type = "Tabs" indent_width = 4 - quote_style = "AutoPreferDouble" - call_parentheses = "Always" + +[sort_requires] +enabled = true diff --git a/tests/net/serve/requests.luau b/tests/net/serve/requests.luau index c6042b71..522d35f9 100644 --- a/tests/net/serve/requests.luau +++ b/tests/net/serve/requests.luau @@ -1,6 +1,6 @@ local net = require("@lune/net") -local task = require("@lune/task") local process = require("@lune/process") +local task = require("@lune/task") local PORT = 8080 local URL = `http://127.0.0.1:{PORT}` diff --git a/tests/net/serve/websockets.luau b/tests/net/serve/websockets.luau index 339e674e..0e7e997b 100644 --- a/tests/net/serve/websockets.luau +++ b/tests/net/serve/websockets.luau @@ -1,6 +1,6 @@ local net = require("@lune/net") -local task = require("@lune/task") local process = require("@lune/process") +local task = require("@lune/task") local PORT = 8081 local URL = `http://127.0.0.1:{PORT}` diff --git a/tests/process/exit.luau b/tests/process/exit.luau index e5a8f33c..1dab42c1 100644 --- a/tests/process/exit.luau +++ b/tests/process/exit.luau @@ -1,6 +1,6 @@ local fs = require("@lune/fs") -local task = require("@lune/task") local process = require("@lune/process") +local task = require("@lune/task") local function assert(condition, err) if not condition then diff --git a/tests/process/spawn.luau b/tests/process/spawn.luau index a6988255..6878e8e0 100644 --- a/tests/process/spawn.luau +++ b/tests/process/spawn.luau @@ -1,5 +1,5 @@ -local task = require("@lune/task") local process = require("@lune/process") +local task = require("@lune/task") -- Spawning a child process should work with options diff --git a/tests/stdio/ewrite.luau b/tests/stdio/ewrite.luau index b6d3b3e5..f5012896 100644 --- a/tests/stdio/ewrite.luau +++ b/tests/stdio/ewrite.luau @@ -1,5 +1,5 @@ -local stdio = require("@lune/stdio") local process = require("@lune/process") +local stdio = require("@lune/stdio") stdio.ewrite("Hello, stderr!") diff --git a/tests/stdio/prompt.luau b/tests/stdio/prompt.luau index 3e63a83e..e2392afe 100644 --- a/tests/stdio/prompt.luau +++ b/tests/stdio/prompt.luau @@ -1,6 +1,6 @@ -local task = require("@lune/task") -local stdio = require("@lune/stdio") local process = require("@lune/process") +local stdio = require("@lune/stdio") +local task = require("@lune/task") -- NOTE: This test is intentionally not included in the -- automated tests suite since it requires user input diff --git a/tests/task/wait.luau b/tests/task/wait.luau index 377f85b5..08d727ad 100644 --- a/tests/task/wait.luau +++ b/tests/task/wait.luau @@ -1,5 +1,5 @@ -local task = require("@lune/task") local stdio = require("@lune/stdio") +local task = require("@lune/task") -- Wait should be accurate down to at least 10ms