From 0441ef075d03e2fcf6fd50588e37d625421431c7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=80=E8=90=8C=E5=B0=8F=E6=B1=90?= Date: Wed, 27 Apr 2022 23:48:31 +0800 Subject: use name `.luarc.json` --- .luarc.json | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 .luarc.json (limited to '.luarc.json') diff --git a/.luarc.json b/.luarc.json new file mode 100644 index 00000000..32fa50a7 --- /dev/null +++ b/.luarc.json @@ -0,0 +1,45 @@ +{ + "diagnostics": { + "disable": [ + "close-non-object" + ], + "neededFileStatus": { + "undefined-field": "Any", + "await-in-sync": "Any", + "not-yieldable": "Any", + "discard-returns": "Any", + "redundant-parameter": "Any", + "missing-parameter": "Any", + "need-check-nil": "Any", + "redundant-value": "Any", + "deprecated": "Any" + }, + "ignoredFiles": "Opened", + "libraryFiles": "Opened" + }, + "runtime": { + "version": "Lua 5.4", + "path": [ + "script/?.lua", + "script/?/init.lua", + "test/?.lua", + "test/?/init.lua" + ], + "pathStrict": true + }, + "workspace": { + "maxPreload": 1600, + "preloadFileSize": 1000, + "ignoreDir": [ + "locale/", + "libs/", + "3rd", + ".vscode", + "meta" + ], + "library": [ + "script/meta", + "bin" + ] + } +} -- cgit v1.2.3