mirror of
https://github.com/tc39/test262.git
synced 2025-07-28 08:24:23 +02:00
Relax lint check for licensing in files
This commit is contained in:
parent
353cf531d6
commit
48a7471060
@ -31,7 +31,7 @@ class CheckLicense(Check):
|
||||
match = _LICENSE_PATTERN.search(source)
|
||||
|
||||
if not match:
|
||||
return 'No license information found.'
|
||||
return
|
||||
|
||||
year_str = match.group(2)
|
||||
try:
|
||||
|
1
tools/lint/test/fixtures/license_missing.js
vendored
1
tools/lint/test/fixtures/license_missing.js
vendored
@ -1,4 +1,3 @@
|
||||
LICENSE
|
||||
^ expected errors | v input
|
||||
/*---
|
||||
esid: sec-assignment-operators-static-semantics-early-errors
|
||||
|
Loading…
x
Reference in New Issue
Block a user