mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2026-08-13 00:45:11 +09:00
These were carried over as disabled from the luals config but report nothing, so they only ever masked a future regression. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
38 lines
1.5 KiB
JSON
38 lines
1.5 KiB
JSON
{
|
|
"$schema": "https://raw.githubusercontent.com/EmmyLuaLs/emmylua-analyzer-rust/refs/heads/main/crates/emmylua_code_analysis/resources/schema.json",
|
|
"runtime": {
|
|
"version": "Lua5.2",
|
|
"requirePattern": [ "?", "?.lua" ]
|
|
},
|
|
"workspace": {
|
|
"$comment-moduleMap": "Replaces the fmtk --clusterio-modules plugin, rewrites each file's own module path rather than the require string",
|
|
"ignoreDir": [ ".github", "web", "dist", "factorio" ],
|
|
"ignoreGlobs": [ "**/node_modules/**", "**/dist/**" ],
|
|
"moduleMap": [
|
|
{ "pattern": "^([^.]+)\\.module\\.module_exports$", "replace": "modules.$1" },
|
|
{ "pattern": "^([^.]+)\\.module\\.(.+)$", "replace": "modules.$1.$2" }
|
|
]
|
|
},
|
|
"doc": {
|
|
"privateName": [ "__*" ]
|
|
},
|
|
"$comment-disable": "Carried over from the luals config, which had these as editor only rather than checked in ci",
|
|
"$comment-unnecessary-if": "Disabled by the config fmtk generates for itself, the api union types make it unreliable",
|
|
"diagnostics": {
|
|
"globals": [ "__DebugAdapter", "__Profiler" ],
|
|
"disable": [
|
|
"assign-type-mismatch",
|
|
"missing-parameter",
|
|
"param-type-mismatch",
|
|
"preferred-local-alias",
|
|
"redefined-local",
|
|
"redundant-parameter",
|
|
"redundant-return-value",
|
|
"return-type-mismatch",
|
|
"unnecessary-assert",
|
|
"unnecessary-if",
|
|
"unused"
|
|
]
|
|
}
|
|
}
|