Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add builtin rule set for SILE globals #79

Merged
merged 1 commit into from Sep 12, 2022
Merged

Conversation

alerque
Copy link
Member

@alerque alerque commented Sep 5, 2022

The SILE Typesetter is a typesetting engine written in Lua — and more relevant to this PR extended in Lua. Having these globals setup in the .luacheckrc for the upstream project worked fine for project development, but it isn't so convenient for package developers. That only included a handful of projects until we released v0.14.0 which started supporting 3rd party addons installed via LuaRocks. Now SILE packages are starting to proliferate.

I'm starting to work through what it looks like to test a 3rd party package properly, but low hanging fruit is to start by linting. Since the allowed global scope is pretty restricted this is a pretty small builtin set. Someday if upstream commits to public vs. private properties and documentation improves it could be expanded to cover more details about read/write etc., but for now just checking for global access would be nice.

@alerque alerque merged commit 81bb2f2 into lunarmodules:master Sep 12, 2022
@alerque alerque deleted the sile branch September 12, 2022 06:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants