- Updates status icons & colors in several places in the app - Moves "Action Menus" and updated "Status Indicators" design docs from public docs to Storybook - [Storybook] Adds `remark-gfm` to enable tables in MDX - [Storybook] Adds a custom `ColorSwatch` block - [Browsertrix Docs] Swaps out custom colors and fonts included with docs for color variables from Hickory and Webrecorder CDN's hosted font files, respectively --------- Co-authored-by: sua yoo <sua@suayoo.com>
48 lines
989 B
JavaScript
48 lines
989 B
JavaScript
/** @type {import("@ianvs/prettier-plugin-sort-imports").PrettierConfig} */
|
|
module.exports = {
|
|
plugins: [
|
|
"@ianvs/prettier-plugin-sort-imports",
|
|
"@prettier/plugin-xml",
|
|
"prettier-plugin-tailwindcss",
|
|
],
|
|
tailwindFunctions: ["tw"],
|
|
importOrder: [
|
|
"<BUILTIN_MODULES>",
|
|
"",
|
|
"<THIRD_PARTY_MODULES>",
|
|
"",
|
|
// Parent directory items
|
|
"^\\.\\.$",
|
|
"^\\.\\.(/.+)$",
|
|
"",
|
|
// This directory items
|
|
"^\\.(/.+)$",
|
|
"",
|
|
"^\\.$",
|
|
"",
|
|
"^@/(.*)$",
|
|
"^~assets/(.*)",
|
|
"",
|
|
],
|
|
importOrderParserPlugins: ["typescript", "jsx", "decorators-legacy"],
|
|
overrides: [
|
|
{
|
|
files: "**/*.xlf",
|
|
options: {
|
|
parser: "xml",
|
|
proseWrap: "never",
|
|
printWidth: Infinity,
|
|
xmlSortAttributesByKey: false,
|
|
xmlWhitespaceSensitivity: "preserve",
|
|
xmlSelfClosingSpace: false,
|
|
},
|
|
},
|
|
{
|
|
files: "**/*.mdx",
|
|
options: {
|
|
proseWrap: "always",
|
|
},
|
|
},
|
|
],
|
|
};
|