.luacheckrc
changeset 8719 2f3b08ad9b8a
parent 8713 ed3dcbc5336f
child 8730 285075a27f28
equal deleted inserted replaced
8718:25d8d6091ec3 8719:2f3b08ad9b8a
     5 
     5 
     6 max_line_length = 150
     6 max_line_length = 150
     7 
     7 
     8 read_globals = {
     8 read_globals = {
     9 	"prosody",
     9 	"prosody",
    10 	"hosts",
       
    11 	"import",
    10 	"import",
    12 	"server",
    11 	"server",
    13 };
    12 };
    14 files["prosody"] = {
    13 files["prosody"] = {
    15 	allow_defined_top = true;
    14 	allow_defined_top = true;
    20 	module = true;
    19 	module = true;
    21 };
    20 };
    22 files["core/"] = {
    21 files["core/"] = {
    23 	globals = {
    22 	globals = {
    24 		"prosody.hosts.?",
    23 		"prosody.hosts.?",
    25 		"hosts.?",
       
    26 	};
    24 	};
    27 }
    25 }
    28 files["util/"] = {
    26 files["util/"] = {
    29 	-- Ignore unwrapped license text
    27 	-- Ignore unwrapped license text
    30 	max_comment_line_length = false;
    28 	max_comment_line_length = false;