From 206df491818fd499140bc5bbf2aa7482156f7be7 Mon Sep 17 00:00:00 2001 From: PhatPhuckDave Date: Sun, 4 May 2025 14:58:00 +0200 Subject: [PATCH] Add luacheckrc --- .luacheckrc | 5 +++++ sync.yml | 11 +++++++---- 2 files changed, 12 insertions(+), 4 deletions(-) create mode 100644 .luacheckrc diff --git a/.luacheckrc b/.luacheckrc new file mode 100644 index 0000000..7558575 --- /dev/null +++ b/.luacheckrc @@ -0,0 +1,5 @@ +globals = { "CykaPersistentData", "CreateFrame", "GetItemInfo" } +unused_args = false +max_line_length = 150 +exclude_files = { "Meta/" } +global = false \ No newline at end of file diff --git a/sync.yml b/sync.yml index 145f646..efa779e 100644 --- a/sync.yml +++ b/sync.yml @@ -1,6 +1,9 @@ -- source: Meta/stylua.toml - target: stylua.toml +- source: stylua.toml + target: ../stylua.toml delete: true -- source: Meta/.luarc.json - target: .luarc.json +- source: .luarc.json + target: ../.luarc.json delete: true +- source: .luacheckrc + target: ../.luacheckrc + delete: true \ No newline at end of file