From d7e4159a263c75a906be4c729a0136bb193c7f90 Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Sat, 4 May 2024 20:56:31 +0200 Subject: [PATCH] fix(licensure): Add support for lua, svg and drawio files --- .licensure.yml | 18 ++++++++++++++++++ scripts/renew_copyright_header.sh | 4 ++-- 2 files changed, 20 insertions(+), 2 deletions(-) mode change 100755 => 100644 scripts/renew_copyright_header.sh diff --git a/.licensure.yml b/.licensure.yml index f3f009c..f0ac6e7 100644 --- a/.licensure.yml +++ b/.licensure.yml @@ -135,6 +135,22 @@ comments: comment_char: "//" trailing_lines: 1 + - extensions: + - lua + # The commenter field defines the kind of commenter to + # generate. There are two types of commenters: line and block. + # + # This demonstrates a line commenter configuration. A line + # commenter type will apply the comment_char to the beginning of + # each line in the license header. It will then apply a number of + # empty newlines to the end of the header equal to trailing_lines. + # + # If trailing_lines is omitted it is assumed to be 0. + commenter: + type: line + comment_char: "--" + trailing_lines: 1 + - extensions: - rs - tri @@ -161,6 +177,8 @@ comments: - extension: - html - md + - svg + - drawio commenter: type: block start_block_char: "