-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.licensure.yml
63 lines (61 loc) · 1.36 KB
/
.licensure.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
# Regexes which if matched by a file path will always be excluded from
# getting a license header
excludes:
- \.gitignore
- .*lock
- \.github/.*
- \.vscode/.*
- \.cargo/.*
- \.git/.*
- \.rpm/.*
- \.licensure\.yml
- \.editorconfig
- README.*
- LICENSE.*
- COPYING
- gtksourceview-5
- package
- target
- libs
- docker-*.yml
- data
- setup.iss
- .*\.(md|rst|txt|iss|desktop|svg|toml)
change_in_place: true
licenses:
- files: any
ident: GPL-3.0
unwrap_text: false
authors:
- name: Miguel A. Baldi Hörlle
email: miguel.horlle@gmail.com
template: |
Copyright (c) [year], [name of author]. All rights reserved. Use of
this source code is governed by the [ident] license that can be
found in the COPYING file.
# Define type of comment characters to apply based on file extensions.
comments:
# The extensions (or singular extension) field defines which file
# extensions to apply the commenter to.
- extensions:
- rs
commenter:
type: line
comment_char: "//"
trailing_lines: 1
- extensions:
- css
- cpp
- c
- less
commenter:
type: block
start_block_char: "/*\n"
end_block_char: "*/"
per_line_char: "*"
trailing_lines: 1
- extension: any
commenter:
type: line
comment_char: "#"
trailing_lines: 1