SimpleConkyScript/.luacheckrc

45 lines
911 B
Lua

-- SimpleConkyScript's LuaCheck configuration file.
-- Enabling linting cache.
cache = true
-- Enable quiet output.
quiet = 1
-- Enabling LuaCheck internal codes display.
codes = true
-- Well, let's try not to publish a really indecent code...
max_cyclomatic_complexity = 20
-- Ignoring global variables coming from `conky` and `cairo` third libraries.
new_globals = {
'CAIRO_FONT_SLANT_NORMAL',
'CAIRO_FONT_WEIGHT_NORMAL',
'CAIRO_LINE_CAP_BUTT',
'CAIRO_LINE_CAP_ROUND',
'cairo_arc',
'cairo_create',
'cairo_destroy',
'cairo_fill',
'cairo_line_to',
'cairo_move_to',
'cairo_select_font_face',
'cairo_set_font_size',
'cairo_set_line_cap',
'cairo_set_line_width',
'cairo_set_source_rgba',
'cairo_show_text',
'cairo_stroke',
'cairo_surface_destroy',
'cairo_xlib_surface_create',
'conky',
'conky_config',
'conky_main',
'conky_parse',
'conky_startup',
'conky_version',
'conky_window'
}