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

Reporter Zash
Owner Nobody
Created
Updated
Stars ★ (1)  
Tags
  • Type-Enhancement
  • Status-Accepted
  • Priority-Medium
  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.