diff --git a/CLAUDE.md b/CLAUDE.md index 3fcaba7..906127f 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -23,6 +23,16 @@ real Prettier plugin, not a script chained on with `&&`. Keep comments and doc prose here as short as the neighboring entries. State the rule and the one non-obvious reason; skip the backstory. +Two prettier-plugin-astro 1.0.x formatting bugs to write around. Close +``, never +` + )} - - - { - import.meta.env.MODE === 'production' && ( - - ) - } + {import.meta.env.MODE === 'production' && } - diff --git a/src/components/layout/BaseNavigation.astro b/src/components/layout/BaseNavigation.astro index 36eb1cc..3515f36 100644 --- a/src/components/layout/BaseNavigation.astro +++ b/src/components/layout/BaseNavigation.astro @@ -53,42 +53,38 @@ const { pageTitle } = Astro.props;