#1189 prosodyctl check should complain about '.lua' in modules_enabled

Reporter Zash
Owner Nobody
Stars ★ (1)
  • Status-Accepted
  • Priority-Medium
  • Type-Enhancement
  1. Zash on

    Like the check for the 'mod_' prefix, but for the '.lua' file extension. Eg "mod_foo.lua" in modules_enabled produces this warning: Modules in modules_enabled should not have the 'mod_' prefix included. Change 'mod_foo.lua' to 'foo.lua'. It should suggest stripping ".lua" as well.

New comment

Not published. Used for spam prevention and optional update notifications.