summaryrefslogtreecommitdiff
path: root/tools/copyright_checker.js
diff options
context:
space:
mode:
authorKenta Moriuchi <moriken@kimamass.com>2024-08-13 01:41:32 +0900
committerGitHub <noreply@github.com>2024-08-12 12:41:32 -0400
commit76f4f202e7be3835bd3d95af9e1c485a4b4695fe (patch)
treefdf6085120005aef57b9f6fa33082c51b5bf24b1 /tools/copyright_checker.js
parente5f0058b74245f909253e1c9b1e7e0087ef7701a (diff)
chore: update the copyright of c, mjs, and jsx (#25005)
Diffstat (limited to 'tools/copyright_checker.js')
-rwxr-xr-xtools/copyright_checker.js22
1 files changed, 14 insertions, 8 deletions
diff --git a/tools/copyright_checker.js b/tools/copyright_checker.js
index 486b32ba7..3c46f3b1e 100755
--- a/tools/copyright_checker.js
+++ b/tools/copyright_checker.js
@@ -22,25 +22,31 @@ export async function checkCopyright() {
const sourceFiles = await getSources(ROOT_PATH, [
// js and ts
"*.js",
+ "*.mjs",
+ "*.jsx",
"*.ts",
+ "*.tsx",
":!:.github/mtime_cache/action.js",
- ":!:tests/registry/**",
- ":!:tests/specs/**",
- ":!:tests/testdata/**",
":!:cli/bench/testdata/**",
- ":!:cli/tsc/dts/**",
+ ":!:cli/tools/bench/mitata.rs",
+ ":!:cli/tools/init/templates/**",
":!:cli/tsc/*typescript.js",
":!:cli/tsc/compiler.d.ts",
- ":!:tests/wpt/suite/**",
- ":!:cli/tools/init/templates/**",
- ":!:tests/unit_node/testdata/**",
+ ":!:cli/tsc/dts/**",
":!:tests/node_compat/test/**",
- ":!:cli/tools/bench/mitata.rs",
+ ":!:tests/registry/**",
+ ":!:tests/specs/**",
+ ":!:tests/testdata/**",
+ ":!:tests/unit_node/testdata/**",
+ ":!:tests/wpt/suite/**",
// rust
"*.rs",
":!:ops/optimizer_tests/**",
+ // c
+ "*.c",
+
// toml
"*Cargo.toml",
]);