145 lines
4.3 KiB
YAML
145 lines
4.3 KiB
YAML
change_in_place: true
|
|
|
|
# Regexes which if matched by a file path will always be excluded from
|
|
# getting a license header
|
|
excludes:
|
|
- NOTICE
|
|
- .gitmodules
|
|
- Makefile
|
|
- justfile
|
|
- \.gitignore
|
|
- .*lock
|
|
- .*json
|
|
- \.git/.*
|
|
- \.licensure\.yml
|
|
- README.*
|
|
- LICENSE.*
|
|
- .*\.(nix|toml|yml|md|rst|txt)
|
|
- config/.*
|
|
- lib/.*
|
|
- script/.*
|
|
- tests/.*
|
|
- website/.*
|
|
- data/.*
|
|
- docs/.*
|
|
- src/gen/.*
|
|
- gen/.*
|
|
- distribution/.*
|
|
- contrib/.*
|
|
- bin/.*
|
|
- benches/.*
|
|
- assets/.*
|
|
- /config/.*
|
|
- \..*/.*
|
|
# Definition of the licenses used on this project and to what files
|
|
# they should apply.
|
|
#
|
|
# No default license configuration is provided. This section must be
|
|
# configured by the user.
|
|
#
|
|
# Make sure to delete the [] below when you add your configs.
|
|
licenses:
|
|
- files: any
|
|
ident: AGPL-3.0-or-later
|
|
authors:
|
|
- name: INFINI Labs Team
|
|
email: hello@infini.ltd
|
|
auto_template: false
|
|
template: |
|
|
Copyright (C) INFINI Labs & INFINI LIMITED.
|
|
|
|
The INFINI Console is offered under the GNU Affero General Public License v3.0
|
|
and as commercial software.
|
|
|
|
For commercial licensing, contact us at:
|
|
- Website: infinilabs.com
|
|
- Email: hello@infini.ltd
|
|
|
|
Open Source licensed under AGPL V3:
|
|
This program is free software: you can redistribute it and/or modify
|
|
it under the terms of the GNU Affero General Public License as published by
|
|
the Free Software Foundation, either version 3 of the License, or
|
|
(at your option) any later version.
|
|
|
|
This program is distributed in the hope that it will be useful,
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
GNU Affero General Public License for more details.
|
|
|
|
You should have received a copy of the GNU Affero General Public License
|
|
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
|
|
unwrap_text: false
|
|
commenter:
|
|
type: line
|
|
comment_char: "//"
|
|
trailing_lines: 1
|
|
# 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:
|
|
- js
|
|
- rs
|
|
- go
|
|
# 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:
|
|
- css
|
|
- cpp
|
|
- c
|
|
# This demonstrates a block commenter configuration. A block
|
|
# commenter type will add start_block_char as the first character
|
|
# in the license header and add end_block_char as the last character
|
|
# in the license header. If per_line_char is provided each line of
|
|
# the header between the block start and end characters will be
|
|
# line commented with the per_line_char
|
|
#
|
|
# trailing_lines works the same for both block and line commenter
|
|
# types
|
|
commenter:
|
|
type: block
|
|
start_block_char: "/*\n"
|
|
end_block_char: "*/"
|
|
per_line_char: "*"
|
|
trailing_lines: 1
|
|
# In this case extension is singular and a single string extension is provided.
|
|
- extension: html
|
|
commenter:
|
|
type: block
|
|
start_block_char: "<!--\n"
|
|
end_block_char: "-->"
|
|
- extensions:
|
|
- el
|
|
- lisp
|
|
commenter:
|
|
type: line
|
|
comment_char: ";;;"
|
|
trailing_lines: 1
|
|
# The extension string "any" is special and so will match any file
|
|
# extensions. Commenter configurations are always checked in the
|
|
# order they are defined, so if any is used it should be the last
|
|
# commenter configuration or else it will override all others.
|
|
#
|
|
# In this configuration if we can't match the file extension we fall
|
|
# back to the popular '#' line comment used in most scripting
|
|
# languages.
|
|
- extension: any
|
|
commenter:
|
|
type: line
|
|
comment_char: '#'
|
|
trailing_lines: 1
|
|
|