Stop skipping JSON copyright & license headers by default. (#3959)

A lot of the JSON we use is parsed by VSCode or other systems that are
happy to have comments in them, and we should retain a license header
there. We can exclude specific files where this is a problem. I think
the `package.json` and generated lock file from it are two such cases
where we can't have the license header, but we can directly exclude more
as needed.

This should help make sure that when we *do* have a license header in a
JSON file it stays up to date and is formatted canonically.
This commit is contained in:
Chandler Carruth
2024-05-21 01:15:46 +00:00
committed by GitHub
parent e028fbeb85
commit 8e92d3a3a2
2 changed files with 11 additions and 6 deletions
+4
View File
@@ -1,3 +1,7 @@
// Part of the Carbon Language project, under the Apache License v2.0 with LLVM
// Exceptions. See /LICENSE for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
{
"name": "carbon-lang",
"build": {