ignore/types: config.ru and *.rbw Ruby

PR #1886
This commit is contained in:
Ulysse Buonomo 2021-06-01 16:57:09 +02:00 committed by GitHub
parent 079a23b515
commit 5d0f2b0fc0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -173,7 +173,12 @@ pub const DEFAULT_TYPES: &[(&str, &[&str])] = &[
("red", &["*.r", "*.red", "*.reds"]), ("red", &["*.r", "*.red", "*.reds"]),
("robot", &["*.robot"]), ("robot", &["*.robot"]),
("rst", &["*.rst"]), ("rst", &["*.rst"]),
("ruby", &["Gemfile", "*.gemspec", ".irbrc", "Rakefile", "*.rb"]), ("ruby", &[
// Idiomatic files
"config.ru", "Gemfile", ".irbrc", "Rakefile",
// Extensions
"*.gemspec", "*.rb", "*.rbw"
]),
("rust", &["*.rs"]), ("rust", &["*.rs"]),
("sass", &["*.sass", "*.scss"]), ("sass", &["*.sass", "*.scss"]),
("scala", &["*.scala", "*.sbt"]), ("scala", &["*.scala", "*.sbt"]),