mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2025-12-27 03:25:23 +09:00
99 lines
3.0 KiB
JSON
99 lines
3.0 KiB
JSON
{
|
|
"$schema": "https://raw.githubusercontent.com/LuaLS/vscode-lua/master/setting/schema.json",
|
|
"workspace.ignoreDir": [
|
|
".vscode", ".github", "luals", "factorio"
|
|
],
|
|
"completion.requireSeparator": "/",
|
|
"runtime.pluginArgs": [
|
|
"--clusterio-modules"
|
|
],
|
|
"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": {
|
|
"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": [{
|
|
"type" : "pattern",
|
|
"param": "_?_?(\\S*)",
|
|
"$1": "snake_case"
|
|
}],
|
|
"module_local_name_style": [{
|
|
"type" : "pattern",
|
|
"param": "_?_?(\\S*)",
|
|
"$1": "snake_case"
|
|
}, {
|
|
"type" : "pattern",
|
|
"param": "_?_?(\\S*)",
|
|
"$1": "upper_snake_case"
|
|
}, {
|
|
"type" : "pattern",
|
|
"param": "_?_?(\\S*)",
|
|
"$1": "pascal_case"
|
|
}],
|
|
"function_param_name_style": [{
|
|
"type" : "pattern",
|
|
"param": "_?_?(\\S*)",
|
|
"$1": "snake_case"
|
|
}],
|
|
"function_name_style": [{
|
|
"type" : "pattern",
|
|
"param": "_?_?(\\S*)",
|
|
"$1": "snake_case"
|
|
}],
|
|
"local_function_name_style": [{
|
|
"type" : "pattern",
|
|
"param": "_?_?(\\S*)",
|
|
"$1": "snake_case"
|
|
}],
|
|
"table_field_name_style": [{
|
|
"type" : "pattern",
|
|
"param": "_?_?(\\S*)",
|
|
"$1": "snake_case"
|
|
}],
|
|
"global_variable_name_style": [{
|
|
"type" : "pattern",
|
|
"param": "_?_?(\\S*)",
|
|
"$1": "snake_case"
|
|
}, {
|
|
"type" : "pattern",
|
|
"param": "_?_?(\\S*)",
|
|
"$1": "upper_snake_case"
|
|
}],
|
|
"module_name_style": [ "pascal_case", "snake_case" ],
|
|
"require_module_name_style": [ "pascal_case", "snake_case" ],
|
|
"class_name_style": "pascal_case",
|
|
"const_variable_name_style": "upper_snake_case"
|
|
},
|
|
"format.defaultConfig": {
|
|
"continuation_indent.in_expr": "0"
|
|
}
|
|
} |