From 4af78e18bbde9cdb504df2b982f46f3f3fb1b479 Mon Sep 17 00:00:00 2001 From: Charlie <30303272+charliefoxtwo@users.noreply.github.com> Date: Wed, 11 Dec 2024 16:38:54 -0800 Subject: [PATCH] Update stylua --- .github/workflows/style.yml | 2 +- .vscode/settings.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/style.yml b/.github/workflows/style.yml index b0eadee47..86010ea19 100644 --- a/.github/workflows/style.yml +++ b/.github/workflows/style.yml @@ -18,6 +18,6 @@ jobs: uses: JohnnyMorganz/stylua-action@v4 with: token: ${{ secrets.GITHUB_TOKEN }} - version: 0.20.0 # pin to a specific version in case of formatting changes + version: 2.0.2 # pin to a specific version in case of formatting changes # CLI arguments args: --check . diff --git a/.vscode/settings.json b/.vscode/settings.json index 88001fcc7..b96eff856 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -3,7 +3,7 @@ "[lua]": { "editor.defaultFormatter": "JohnnyMorganz.stylua" }, - "stylua.targetReleaseVersion": "v0.20.0", + "stylua.targetReleaseVersion": "v2.0.2", "Lua.runtime.version": "Lua 5.1", "Lua.workspace.library": [ "DCS_API_defs.lua"