Files
self/.vscode/tasks.json
Justin Hernandez 431f556542 chore: centralize license header checks (#952)
* chore: centralize license header scripts

* chore: run license header checks from root

* add header to other files

* add header to bundle

* add migration script and update check license headers

* convert license to mobile sdk

* migrate license headers

* remove headers from common; convert remaining

* fix headers

* add license header checks
2025-08-25 11:30:23 -07:00

86 lines
2.1 KiB
JSON

{
"version": "2.0.0",
"tasks": [
{
"label": "Check License Headers",
"type": "shell",
"command": "node",
"args": ["scripts/check-license-headers.mjs", "--check"],
"group": {
"kind": "build",
"isDefault": false
},
"presentation": {
"echo": true,
"reveal": "always",
"focus": false,
"panel": "shared",
"showReuseMessage": true,
"clear": false
},
"problemMatcher": [],
"detail": "Check that all license headers are properly formatted"
},
{
"label": "Fix License Headers",
"type": "shell",
"command": "node",
"args": ["scripts/check-license-headers.mjs", "--fix"],
"group": {
"kind": "build",
"isDefault": false
},
"presentation": {
"echo": true,
"reveal": "always",
"focus": false,
"panel": "shared",
"showReuseMessage": true,
"clear": false
},
"problemMatcher": [],
"detail": "Auto-fix license header formatting issues"
},
{
"label": "Analyze License Headers",
"type": "shell",
"command": "node",
"args": ["scripts/migrate-license-headers.mjs", "analyze", "--verbose"],
"group": {
"kind": "build",
"isDefault": false
},
"presentation": {
"echo": true,
"reveal": "always",
"focus": false,
"panel": "shared",
"showReuseMessage": true,
"clear": false
},
"problemMatcher": [],
"detail": "Analyze license header distribution across the codebase"
},
{
"label": "Test License Header Tooling",
"type": "shell",
"command": "yarn",
"args": ["test:license-headers"],
"group": {
"kind": "test",
"isDefault": false
},
"presentation": {
"echo": true,
"reveal": "always",
"focus": false,
"panel": "shared",
"showReuseMessage": true,
"clear": false
},
"problemMatcher": [],
"detail": "Run comprehensive tests for license header tooling"
}
]
}