Skip to content

Commit be7de09

Browse files
committed
extension: import js-green-licenses for license checking
github.com/google/js-green-licenses is the license checker used by many google-authored open source JS/TS projects. Use it instead of using ./extension/tools/license.sh Usage: cd extension; npx jsgl --local . Configured js-green-licenses to skip checking on the es5class package. This package was published long ago and the last version lacks the license metadata so js-green-licenses cannot process it. A new version to fix the metadata won't be published since it is officially deprecated (for a while). The latest version was published with MIT license (https://github.com/pocesar/ES5-Class/blob/master/LICENSE) Change-Id: I952938cbc56aa93258de43653d531e405ea40683 Reviewed-on: https://go-review.googlesource.com/c/vscode-go/+/610257 Commit-Queue: Hyang-Ah Hana Kim <[email protected]> kokoro-CI: kokoro <[email protected]> Reviewed-by: Hongxiang Jiang <[email protected]>
1 parent 97292e3 commit be7de09

File tree

6 files changed

+869
-100
lines changed

6 files changed

+869
-100
lines changed

extension/js-green-licenses.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"packageAllowlist": [
3+
"es5class"
4+
]
5+
}

0 commit comments

Comments
 (0)