mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
build: skip license check on json files (#11937)
This commit is contained in:
parent
84ad6de2e6
commit
8dfe9d75ed
@ -65,6 +65,10 @@ const enforceLicenseRule = createRule<[], 'licenseRule'>({
|
||||
|
||||
return {
|
||||
Program(node) {
|
||||
if (context.filename.endsWith('.json')) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (
|
||||
header &&
|
||||
(header.value.includes('@license') ||
|
||||
|
Loading…
Reference in New Issue
Block a user