Per user-greenlight option (b): function M.foo(...) syntax sugar is now recognized in addition to M.foo = function(...) explicit-assignment. Eliminates 7 false-positive stale_docs warnings on every existing lib README (e.g. lib-core.input). Sugar-form is dominant in Sporel-lib code (113 occurrences across lib-core/) - sticking to explicit-only would have required cascade-migrating all init.lua files. This approach is pragmatic: lint tolerant of idiomatic Lua, no source-rewriting needed. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
5.7 KiB
5.7 KiB