Closed bahrmichael closed 8 months ago
yeah, that's cool. i tried same thing after my pr-1
, but didn't return to it.
i used Nexela's .luacheckrc
, you may check my winex:test
branch https://github.com/bahrmichael/factorio-tycoon/compare/0.4.1...winex:factorio-tycoon:test if it has anything useful
badge looks cool, btw :)
prototypes/entities/hidden-light.lua:3:23: accessing undefined field deepcopy of global table
table.deepcopy()
should be added in someway as correct (but it's only in data
stage, iirc)table_size()
func as well, provided by Factoriothis is how factorio std's was added by Nexela: https://github.com/Nexela/Factorio-luacheckrc/tree/master/.luacheckrc#L338-L349
yeah, that's cool. i tried same thing after my
pr-1
, but didn't return to it. i used Nexela's.luacheckrc
, you may check mywinex:test
branch 0.4.1...winex:factorio-tycoon:test if it has anything usefulbadge looks cool, btw :)
Thanks! I took a look, but prefer to stick with an actions and .rc file for now. I'll make the luacheck more strict over time, but want to wait until your big changes are in.
serpent
is provided by Factorio, too...
Let's add that when we use it :) checks were green so i expected there to be no current issues
Introduces static code analysis for lua files. Should prevent problems like https://github.com/bahrmichael/factorio-tycoon/commit/4579b5de58fa6cb04374a20d2a50cc914a132813.