summaryrefslogtreecommitdiff
path: root/tools/copyright_checker.js
diff options
context:
space:
mode:
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",
]);