diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2022-04-27 23:48:31 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2022-04-27 23:48:31 +0800 |
commit | 0441ef075d03e2fcf6fd50588e37d625421431c7 (patch) | |
tree | 391fb017f6e50a64a886e6f49efd7219242f49e1 /.luarc.json | |
parent | f2800d17cb469ea1442fdc9d7352c6414e5d6bf1 (diff) | |
download | lua-language-server-0441ef075d03e2fcf6fd50588e37d625421431c7.zip |
use name `.luarc.json`
Diffstat (limited to '.luarc.json')
-rw-r--r-- | .luarc.json | 45 |
1 files changed, 45 insertions, 0 deletions
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" + ] + } +} |