Kaynağa Gözat

feat: add prettier icon for `.prettierrc.{json,json5,toml,yaml,yml}`

Signed-off-by: Justin Su <injustsu@gmail.com>
Justin Su 7 ay önce
ebeveyn
işleme
3cc1e33fd7
1 değiştirilmiş dosya ile 5 ekleme ve 0 silme
  1. 5 0
      src/output/icons.rs

+ 5 - 0
src/output/icons.rs

@@ -252,6 +252,11 @@ const FILENAME_ICONS: Map<&'static str, char> = phf_map! {
     ".pre-commit-config.yaml" => '\u{f06e2}',       // 󰛢
     ".prettierignore"     => '\u{e6b4}',            // 
     ".prettierrc"         => '\u{e6b4}',            // 
+    ".prettierrc.json"    => '\u{e6b4}',            // 
+    ".prettierrc.json5"   => '\u{e6b4}',            // 
+    ".prettierrc.toml"    => '\u{e6b4}',            // 
+    ".prettierrc.yaml"    => '\u{e6b4}',            // 
+    ".prettierrc.yml"     => '\u{e6b4}',            // 
     ".parentlock"         => Icons::LOCK,           // 
     ".profile"            => Icons::SHELL,          // 󱆃
     ".pylintrc"           => Icons::CONFIG,         // 