Skip to content
Snippets Groups Projects
  1. Nov 28, 2017
  2. Nov 27, 2017
  3. Nov 24, 2017
  4. Nov 23, 2017
    • Petr Špaček's avatar
      Merge branch 'add-lua-linter' into 'master' · f60e0a53
      Petr Špaček authored
      Added luacheck for linting Lua files and static analysis
      
      See merge request !398
      f60e0a53
    • Marek Vavruša's avatar
      Added luacheck for linting Lua files and static analysis · 0e2ffb5d
      Marek Vavruša authored
      This is super useful for checking things like misusing undefined
      variables or modifying globals, especially in modules when it's
      not immediately visible which variables are in the global
      namespace and which are not.
      
      I added several exceptions for files in daemon/lua and tests,
      as for example sandbox module needs to legitimately modify
      global namespace.
      
      There's a lot of things failing, so I didn't make it part of the
      standard `make check`, but we should eventually enable it to
      improve code quality and spot problems with CI.
      0e2ffb5d
  5. Nov 20, 2017