From c73dff73267f39ca4624283bdb10c8718c0082cc Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Sun, 9 Jul 2023 06:29:18 -0400 Subject: [PATCH] feat: add .prettierignore template --- src/index.ts | 1 + templates/prettierignore | 1 + 2 files changed, 2 insertions(+) create mode 100644 templates/prettierignore diff --git a/src/index.ts b/src/index.ts index ecf44cf..90253c3 100644 --- a/src/index.ts +++ b/src/index.ts @@ -65,6 +65,7 @@ export default async function (context: PresetContext): Promise { return template(content, variable); /* eslint-enable @typescript-eslint/naming-convention */ }, + ".prettierignore": resolve(TEMPLATES, "prettierignore"), }, supplementaryIgnores: ignores, supplementaryConfig: { diff --git a/templates/prettierignore b/templates/prettierignore new file mode 100644 index 0000000..a65b417 --- /dev/null +++ b/templates/prettierignore @@ -0,0 +1 @@ +lib