|
| 1 | +change_in_place: true |
| 2 | + |
| 3 | +# Regexes which if matched by a file path will always be excluded from |
| 4 | +# getting a license header |
| 5 | +excludes: |
| 6 | + - NOTICE |
| 7 | + - .gitmodules |
| 8 | + - Makefile |
| 9 | + - justfile |
| 10 | + - \.gitignore |
| 11 | + - .*lock |
| 12 | + - .*json |
| 13 | + - \.git/.* |
| 14 | + - \.licensure\.yml |
| 15 | + - README.* |
| 16 | + - LICENSE.* |
| 17 | + - .*\.(nix|toml|yml|md|rst|txt) |
| 18 | + - config/.* |
| 19 | + - lib/.* |
| 20 | + - script/.* |
| 21 | + - tests/.* |
| 22 | + - website/.* |
| 23 | + - data/.* |
| 24 | + - docs/.* |
| 25 | + - src/gen/.* |
| 26 | + - gen/.* |
| 27 | + - distribution/.* |
| 28 | + - contrib/.* |
| 29 | + - bin/.* |
| 30 | + - benches/.* |
| 31 | + - assets/.* |
| 32 | + - /config/.* |
| 33 | + - \..*/.* |
| 34 | +# Definition of the licenses used on this project and to what files |
| 35 | +# they should apply. |
| 36 | +# |
| 37 | +# No default license configuration is provided. This section must be |
| 38 | +# configured by the user. |
| 39 | +# |
| 40 | +# Make sure to delete the [] below when you add your configs. |
| 41 | +licenses: |
| 42 | + - files: any |
| 43 | + ident: AGPL-3.0-or-later |
| 44 | + authors: |
| 45 | + - name: INFINI Labs Team |
| 46 | + |
| 47 | + auto_template: false |
| 48 | + template: | |
| 49 | + Copyright (C) INFINI Labs & INFINI LIMITED. |
| 50 | + |
| 51 | + The INFINI Console is offered under the GNU Affero General Public License v3.0 |
| 52 | + and as commercial software. |
| 53 | + |
| 54 | + For commercial licensing, contact us at: |
| 55 | + - Website: infinilabs.com |
| 56 | + |
| 57 | + |
| 58 | + Open Source licensed under AGPL V3: |
| 59 | + This program is free software: you can redistribute it and/or modify |
| 60 | + it under the terms of the GNU Affero General Public License as published by |
| 61 | + the Free Software Foundation, either version 3 of the License, or |
| 62 | + (at your option) any later version. |
| 63 | + |
| 64 | + This program is distributed in the hope that it will be useful, |
| 65 | + but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 66 | + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 67 | + GNU Affero General Public License for more details. |
| 68 | + |
| 69 | + You should have received a copy of the GNU Affero General Public License |
| 70 | + along with this program. If not, see <http://www.gnu.org/licenses/>. |
| 71 | +
|
| 72 | +
|
| 73 | + unwrap_text: false |
| 74 | + commenter: |
| 75 | + type: line |
| 76 | + comment_char: "//" |
| 77 | + trailing_lines: 1 |
| 78 | +# Define type of comment characters to apply based on file extensions. |
| 79 | +comments: |
| 80 | + # The extensions (or singular extension) field defines which file |
| 81 | + # extensions to apply the commenter to. |
| 82 | + - extensions: |
| 83 | + - js |
| 84 | + - rs |
| 85 | + - go |
| 86 | + # The commenter field defines the kind of commenter to |
| 87 | + # generate. There are two types of commenters: line and block. |
| 88 | + # |
| 89 | + # This demonstrates a line commenter configuration. A line |
| 90 | + # commenter type will apply the comment_char to the beginning of |
| 91 | + # each line in the license header. It will then apply a number of |
| 92 | + # empty newlines to the end of the header equal to trailing_lines. |
| 93 | + # |
| 94 | + # If trailing_lines is omitted it is assumed to be 0. |
| 95 | + commenter: |
| 96 | + type: line |
| 97 | + comment_char: "//" |
| 98 | + trailing_lines: 1 |
| 99 | + - extensions: |
| 100 | + - css |
| 101 | + - cpp |
| 102 | + - c |
| 103 | + # This demonstrates a block commenter configuration. A block |
| 104 | + # commenter type will add start_block_char as the first character |
| 105 | + # in the license header and add end_block_char as the last character |
| 106 | + # in the license header. If per_line_char is provided each line of |
| 107 | + # the header between the block start and end characters will be |
| 108 | + # line commented with the per_line_char |
| 109 | + # |
| 110 | + # trailing_lines works the same for both block and line commenter |
| 111 | + # types |
| 112 | + commenter: |
| 113 | + type: block |
| 114 | + start_block_char: "/*\n" |
| 115 | + end_block_char: "*/" |
| 116 | + per_line_char: "*" |
| 117 | + trailing_lines: 1 |
| 118 | + # In this case extension is singular and a single string extension is provided. |
| 119 | + - extension: html |
| 120 | + commenter: |
| 121 | + type: block |
| 122 | + start_block_char: "<!--\n" |
| 123 | + end_block_char: "-->" |
| 124 | + - extensions: |
| 125 | + - el |
| 126 | + - lisp |
| 127 | + commenter: |
| 128 | + type: line |
| 129 | + comment_char: ";;;" |
| 130 | + trailing_lines: 1 |
| 131 | + # The extension string "any" is special and so will match any file |
| 132 | + # extensions. Commenter configurations are always checked in the |
| 133 | + # order they are defined, so if any is used it should be the last |
| 134 | + # commenter configuration or else it will override all others. |
| 135 | + # |
| 136 | + # In this configuration if we can't match the file extension we fall |
| 137 | + # back to the popular '#' line comment used in most scripting |
| 138 | + # languages. |
| 139 | + - extension: any |
| 140 | + commenter: |
| 141 | + type: line |
| 142 | + comment_char: '#' |
| 143 | + trailing_lines: 1 |
| 144 | + |
0 commit comments