mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-09-23 15:03:24 +02:00
Add snippets for spdx
This commit is contained in:
parent
35f5fe4fc3
commit
d7084c78fb
1
.gitignore
vendored
1
.gitignore
vendored
@ -21,6 +21,7 @@ build
|
||||
*.code-workspace
|
||||
.vscode/*
|
||||
!.vscode/extensions.json
|
||||
!.vscode/spdx.code-snippets
|
||||
.idea
|
||||
.DS_Store
|
||||
*.suo
|
||||
|
49
.vscode/spdx.code-snippets
vendored
Normal file
49
.vscode/spdx.code-snippets
vendored
Normal file
@ -0,0 +1,49 @@
|
||||
/*
|
||||
* SPDX-FileCopyrightText: 2025 Pagefault Games
|
||||
* SPDX-FileContributor: SirzBenjie
|
||||
*
|
||||
* SPDX-License-Identifier: AGPL-3.0-only
|
||||
*/
|
||||
{
|
||||
// REUSE-IgnoreStart
|
||||
"Add SPDX header (/* comments )": {
|
||||
"scope": "javascript,typescript,css,glsl,jsonc",
|
||||
"prefix": "SPDX",
|
||||
"body": [
|
||||
"/*",
|
||||
" * SPDX-FileCopyrightText: ${CURRENT_YEAR} Pagefault Games",
|
||||
" *",
|
||||
" * SPDX-License-Identifier: AGPL-3.0-only",
|
||||
" */",
|
||||
"$0"
|
||||
],
|
||||
"description": "AGPL-3.0-only SPDX header (c style comments)",
|
||||
},
|
||||
|
||||
"Add SPDX header (<!--> comments)": {
|
||||
"scope": "html,markdown",
|
||||
"prefix": "SPDX",
|
||||
"body": [
|
||||
"<!--",
|
||||
"SPDX-FileCopyrightText: ${CURRENT_YEAR} Pagefault Games",
|
||||
"SPDX-License-Identifier: AGPL-3.0-only",
|
||||
"-->",
|
||||
"$0"
|
||||
],
|
||||
"description": "AGPL-3.0-only SPDX header (html style comments)",
|
||||
},
|
||||
|
||||
"Add SPDX header (# comments) ": {
|
||||
"prefix": "SPDX",
|
||||
"scope": "powershell,python,yaml,shellscript,ignore,toml,git,gitattributes",
|
||||
"body": [
|
||||
"# SPDX-FileCopyrightText: ${CURRENT_YEAR} Pagefault Games",
|
||||
"#",
|
||||
"# SPDX-License-Identifier: AGPL-3.0-only",
|
||||
"$0"
|
||||
],
|
||||
"description": "AGPL-3.0-only SPDX header (# style comments)",
|
||||
|
||||
}
|
||||
// REUSE-IgnoreEnd
|
||||
}
|
Loading…
Reference in New Issue
Block a user