mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2025-12-27 03:25:23 +09:00
Enable stricter type checks
This commit is contained in:
52
.luarc.json
52
.luarc.json
@@ -1,33 +1,41 @@
|
||||
{
|
||||
"$schema": "https://raw.githubusercontent.com/LuaLS/vscode-lua/master/setting/schema.json",
|
||||
"completion.requireSeparator": "/",
|
||||
"doc.regengine": "glob",
|
||||
"doc.privateName": [ "__*" ],
|
||||
"doc.packageName": [ "_*" ],
|
||||
"runtime.pluginArgs": [
|
||||
"--clusterio-modules"
|
||||
],
|
||||
"diagnostics.unusedLocalExclude": [ "_*", "i", "j", "k", "v" ],
|
||||
"diagnostics.groupFileStatus": {
|
||||
"ambiguity": "Any",
|
||||
"await": "None",
|
||||
"codestyle": "Opened",
|
||||
"conventions": "Any",
|
||||
"duplicate": "Any",
|
||||
"global": "Any",
|
||||
"luadoc": "Opened",
|
||||
"redefined": "Opened",
|
||||
"strict": "Any",
|
||||
"strong": "Any",
|
||||
"type-check": "Any",
|
||||
"unbalanced": "Opened",
|
||||
"unused": "Opened"
|
||||
"doc": {
|
||||
"regengine": "glob",
|
||||
"privateName": [ "__*" ],
|
||||
"packageName": [ "_*" ]
|
||||
},
|
||||
"type": {
|
||||
"checkTableShape": true,
|
||||
"inferParamType": true
|
||||
},
|
||||
"$comment-name-style-check": "Disabled below until config issue fixed: https://github.com/LuaLS/lua-language-server/issues/2643",
|
||||
"diagnostics.neededFileStatus": {
|
||||
"no-unknown": "None!",
|
||||
"spell-check": "None!",
|
||||
"name-style-check": "None!"
|
||||
"diagnostics": {
|
||||
"unusedLocalExclude": [ "_*", "i", "j", "k", "v" ],
|
||||
"groupFileStatus": {
|
||||
"ambiguity": "Any",
|
||||
"await": "None",
|
||||
"codestyle": "Opened",
|
||||
"conventions": "Any",
|
||||
"duplicate": "Any",
|
||||
"global": "Any",
|
||||
"luadoc": "Opened",
|
||||
"redefined": "Opened",
|
||||
"strict": "Any",
|
||||
"strong": "Any",
|
||||
"type-check": "Any",
|
||||
"unbalanced": "Opened",
|
||||
"unused": "Opened"
|
||||
},
|
||||
"neededFileStatus": {
|
||||
"no-unknown": "None!",
|
||||
"spell-check": "None!",
|
||||
"name-style-check": "None!"
|
||||
}
|
||||
},
|
||||
"nameStyle.config": {
|
||||
"local_name_style": [{
|
||||
|
||||
Reference in New Issue
Block a user