Added warncreateglobal like checking but statically sob., 28 sty 2023, 10:19 użytkownik Sebastian Gniazdowski < sgniazdowski@gmail.com> napisał: > Hi, > a zsh linter with 7 checks currently: > > https://github.com/psprint/zsh-scan > > The checks are: > - whether emulate -L -o … or setopt has been used, > - whether fun-name() { preamble exists within an autoload function (it's > good practice to help Ctags recognizing the function), > - whether certain, useful options has been given, like localoptions, > typesetsilent, extendedglob, etc. > - whether -F option has been given to zparseopts (toggles error detection), > - whether -U option has been given to autoload, > - whether 0=… assignment exists, > - and whether 0= has a standard form, > - also, if variable being array is appended without (…), ie. arr+=elem > instead of arr+=(elem) > > Does someone have any idea of some new checks to add? > > -- > Best regards, > Sebastian Gniazdowski > >