-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Polish the Lua examples #772
Comments
It's a bit much for one person, but yes I will try to do this and work through these. No commitments on timescales though. |
Thanks! There's no need to do it all at once. You can very well create a PR for every example you fix. Once we have a few consistent examples we can parallelize and still achieve high consistency across all examples. |
Also replace old tmr code with new OO tmr API. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
This is still job that needs to be done. |
I started digging into this problem and here are my thoughts:
I will start testing this approach and checking if correct configuration for |
Update:
Configuration gist I will try to create a PR that would include a |
Update 2: I would be glad if anyone could give any feedback on this whole idea. I want to be sure that this is a correct approach. |
I like where you are headed with this. Looking forward to the PR.
Why not activate it? As long as it doesn't break the build when "violations" are detected I see no harm in having it active. |
It will break the build because |
Just progress update: |
@galjonsfigur, perhaps you might want to post a link to your branch or put up a reference example as a gist so we can discuss and reach a consensus on this. 😄 |
@TerryE Just sent changes here - for now only |
@galjonsfigur, is there any way we can add luacheck pragmas so that we can suppress individual warning where there is a valid reason for this being the case? And the answer to my Q is here. |
On a separate note, I've yet to work out why the Travis validation of my build is executing a full Lua source validation and failing. IMO, since this involves installing both Lua 5.3.5 and |
Go through most of the examples an refresh them using the API and decent coding style.
@TerryE you once stated you had this on your TODO list. Feel free to remove the assignee.
Also, I don't see why we should have both
/examples
and/lua_examples
.The text was updated successfully, but these errors were encountered: