fix(file-templates): indentation for licenses
And remove superfluous tabstops in gpl3 license.
This commit is contained in:
parent
293b3f9be5
commit
ba668f7cb0
11 changed files with 13 additions and 1 deletions
|
@ -3,6 +3,7 @@
|
|||
# uuid: __license-apache
|
||||
# group: Licenses
|
||||
# contributor: https://choosealicense.com/licenses/apache-2.0/
|
||||
# expand-env: ((yas-indent-line 'fixed))
|
||||
# --
|
||||
Apache License
|
||||
Version 2.0, January 2004
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
# uuid: __license-apache-bp
|
||||
# group: Licenses
|
||||
# contributor: https://choosealicense.com/licenses/apache-2.0/
|
||||
# expand-env: ((yas-indent-line 'fixed))
|
||||
# --
|
||||
Copyright ${1:`(format-time-string "%Y")` `user-full-name`}
|
||||
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
# name: 2-clause BSD License
|
||||
# uuid: __license-bsd2
|
||||
# group: Licenses
|
||||
# expand-env: ((yas-indent-line 'fixed))
|
||||
# --
|
||||
Copyright (c) ${1:`(format-time-string "%Y")`} ${2:`user-full-name`}
|
||||
All rights reserved.
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
# -*- mode: snippet -*-
|
||||
# name: 3-clause BSD License
|
||||
# uuid: __license-bsd3
|
||||
# group: Licenses
|
||||
# expand-env: ((yas-indent-line 'fixed))
|
||||
# --
|
||||
Copyright (c) ${1:`(format-time-string "%Y")`} ${2:`user-full-name`}
|
||||
All rights reserved.
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
# uuid: __license-gpl3
|
||||
# group: Licenses
|
||||
# contributor: https://choosealicense.com/licenses/gpl-3.0/
|
||||
# expand-env: ((yas-indent-line 'fixed))
|
||||
# --
|
||||
GNU GENERAL PUBLIC LICENSE
|
||||
Version 3, 29 June 2007
|
||||
|
@ -658,7 +659,7 @@ Also add information on how to contact you by electronic and paper mail.
|
|||
If the program does terminal interaction, make it output a short
|
||||
notice like this when it starts in an interactive mode:
|
||||
|
||||
${3:<program>} Copyright (C) ${1:`(format-time-string "%Y")`} ${2:`user-full-name`}
|
||||
<program> Copyright (C) <year> <name of author>
|
||||
This program comes with ABSOLUTELY NO WARRANTY; for details type \`show w'.
|
||||
This is free software, and you are welcome to redistribute it
|
||||
under certain conditions; type \`show c' for details.
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
# uuid: __license-gpl3-bp
|
||||
# group: Licenses
|
||||
# contributor: https://choosealicense.com/licenses/lgpl-3.0
|
||||
# expand-env: ((yas-indent-line 'fixed))
|
||||
# --
|
||||
${1:<program name and description>}
|
||||
Copyright (C) ${2:`(format-time-string "%Y")`} ${3:`user-full-name`}
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
# uuid: __license-lgpl3
|
||||
# group: Licenses
|
||||
# contribuer: https://choosealicense.com/licenses/lgpl-3.0/
|
||||
# expand-env: ((yas-indent-line 'fixed))
|
||||
# --
|
||||
GNU LESSER GENERAL PUBLIC LICENSE
|
||||
Version 3, 29 June 2007
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
# uuid: __license-mit
|
||||
# group: Licenses
|
||||
# contributor: https://choosealicense.com/licenses/mit/
|
||||
# expand-env: ((yas-indent-line 'fixed))
|
||||
# --
|
||||
The MIT License (MIT)
|
||||
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
# uuid: __license-mozilla
|
||||
# group: Licenses
|
||||
# contributor: https://choosealicense.com/licenses/mpl-2.0
|
||||
# expand-env: ((yas-indent-line 'fixed))
|
||||
# --
|
||||
Mozilla Public License Version 2.0
|
||||
==================================
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
# uuid: __license-mozilla-bp
|
||||
# group: Licenses
|
||||
# contributor: https://choosealicense.com/licenses/mpl-2.0
|
||||
# expand-env: ((yas-indent-line 'fixed))
|
||||
# --
|
||||
This Source Code Form is subject to the terms of the Mozilla Public
|
||||
License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
# uuid: __license-unlicense
|
||||
# group: Licenses
|
||||
# contributor: https://choosealicense.com/licenses/unlicense
|
||||
# expand-env: ((yas-indent-line 'fixed))
|
||||
# --
|
||||
This is free and unencumbered software released into the public domain.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue