Skip to content

Commit

Permalink
extension: import js-green-licenses for license checking
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
hyangah committed Sep 13, 2024
1 parent 97292e3 commit be7de09
Show file tree
Hide file tree
Showing 6 changed files with 869 additions and 100 deletions.
5 changes: 5 additions & 0 deletions extension/js-green-licenses.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"packageAllowlist": [
"es5class"
]
}
Loading

0 comments on commit be7de09

Please sign in to comment.