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

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

  2. Zash on

    Changes
    • tags Difficulty-Easy

New comment

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