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

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

  2. Zash on

    Changes
    • tags Difficulty-Easy

New comment

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