From 640b6079c46720d7a53ff74bf90521a8bd31ac06 Mon Sep 17 00:00:00 2001 From: Miguel Solorio Date: Mon, 15 Aug 2022 21:28:31 -0700 Subject: [PATCH] Add support for prettier (Fixes #10) --- src/icons/files/prettier.svg | 24 ++++++++++++++++++++++++ src/symbol-icon-theme.json | 14 +++++++++++++- 2 files changed, 37 insertions(+), 1 deletion(-) create mode 100644 src/icons/files/prettier.svg diff --git a/src/icons/files/prettier.svg b/src/icons/files/prettier.svg new file mode 100644 index 0000000..e4f0eec --- /dev/null +++ b/src/icons/files/prettier.svg @@ -0,0 +1,24 @@ + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/symbol-icon-theme.json b/src/symbol-icon-theme.json index 6a58842..3b778f9 100644 --- a/src/symbol-icon-theme.json +++ b/src/symbol-icon-theme.json @@ -106,7 +106,8 @@ "npm": { "iconPath": "./icons/files/npm.svg" }, "pnpm": { "iconPath": "./icons/files/pnpm.svg" }, "pulumi": { "iconPath": "./icons/files/pulumi.svg" }, - "webpack": { "iconPath": "./icons/files/webpack.svg" } + "webpack": { "iconPath": "./icons/files/webpack.svg" }, + "prettier": { "iconPath": "./icons/files/prettier.svg" } }, "fileExtensions": { "pulumi": "pulumi", @@ -295,6 +296,17 @@ "toml": "gear" }, "fileNames": { + ".prettierrc": "prettier", + "prettier.config.js": "prettier", + "prettier.config.cjs": "prettier", + ".prettierrc.js": "prettier", + ".prettierrc.cjs": "prettier", + ".prettierrc.json": "prettier", + ".prettierrc.json5": "prettier", + ".prettierrc.yaml": "prettier", + ".prettierrc.yml": "prettier", + ".prettierignore": "prettier", + ".prettierrc.toml": "prettier", "pulumi.yaml": "pulumi", "pnpm-lock.yaml": "pnpm", "pnpm-workspace.yaml": "pnpm",