diff --git a/crates/ignore/src/default_types.rs b/crates/ignore/src/default_types.rs index 6f0c8339..b3a5c958 100644 --- a/crates/ignore/src/default_types.rs +++ b/crates/ignore/src/default_types.rs @@ -95,7 +95,7 @@ pub const DEFAULT_TYPES: &[(&str, &[&str])] = &[ ("java", &["*.java", "*.jsp", "*.jspx", "*.properties"]), ("jinja", &["*.j2", "*.jinja", "*.jinja2"]), ("jl", &["*.jl"]), - ("js", &["*.js", "*.jsx", "*.vue"]), + ("js", &["*.js", "*.jsx", "*.vue", "*.cjs", "*.mjs"]), ("json", &["*.json", "composer.lock"]), ("jsonl", &["*.jsonl"]), ("julia", &["*.jl"]), @@ -248,7 +248,7 @@ pub const DEFAULT_TYPES: &[(&str, &[&str])] = &[ ("tf", &["*.tf"]), ("thrift", &["*.thrift"]), ("toml", &["*.toml", "Cargo.lock"]), - ("ts", &["*.ts", "*.tsx"]), + ("ts", &["*.ts", "*.tsx", "*.cts", "*.mts"]), ("twig", &["*.twig"]), ("txt", &["*.txt"]), ("typoscript", &["*.typoscript", "*.ts"]),