diff --git a/.idea/prettier.xml b/.idea/prettier.xml index 6e16fd106..50edf175d 100644 --- a/.idea/prettier.xml +++ b/.idea/prettier.xml @@ -3,6 +3,6 @@ \ No newline at end of file diff --git a/.prettierignore b/.prettierignore index 6ad8630f6..95e9082a1 100644 --- a/.prettierignore +++ b/.prettierignore @@ -3,3 +3,4 @@ apps packages tests .turbo +pnpm-lock.yaml diff --git a/apps/cms/.prettierignore b/apps/cms/.prettierignore new file mode 100644 index 000000000..d851b213c --- /dev/null +++ b/apps/cms/.prettierignore @@ -0,0 +1,2 @@ +config/sync +composer.lock diff --git a/package.json b/package.json index 29e537f47..c86941856 100644 --- a/package.json +++ b/package.json @@ -13,8 +13,8 @@ "tb": "pnpm turbo --filter @custom/website", "test:format": "pnpm test:format:root --check && pnpm test:format:workspaces --check", "test:format:fix": "pnpm test:format:root --write && pnpm test:format:workspaces --write", - "test:format:root": "pnpm prettier '**/*.{js,cjs,mjs,ts,jsx,tsx,gql,graphql,graphqls,md,mdx,json,htm,html}'", - "test:format:workspaces": "pnpm --workspace-concurrency=1 -r exec prettier '**/*.{js,cjs,mjs,ts,jsx,tsx,gql,graphql,graphqls,md,mdx,json,htm,html}'", + "test:format:root": "pnpm prettier --ignore-unknown '**/**'", + "test:format:workspaces": "pnpm --workspace-concurrency=1 -r exec prettier --ignore-unknown '**/**'", "turbo:local": "if [ -z $CI ]; then echo $(date)$RANDOM > apps/cms/turbo-seed.txt; fi", "turbo:test": "pnpm turbo:local && pnpm tb test:unit --no-daemon --go-fallback --output-logs=new-only && pnpm tb test:integration --no-daemon --go-fallback --output-logs=new-only --concurrency=1", "turbo:test:force": "pnpm tb test:unit --no-daemon --go-fallback --output-logs=new-only --force && pnpm tb test:integration --no-daemon --go-fallback --output-logs=new-only --concurrency=1 --force", diff --git a/packages/drupal/test_content/.prettierignore b/packages/drupal/test_content/.prettierignore new file mode 100644 index 000000000..dd0f08c94 --- /dev/null +++ b/packages/drupal/test_content/.prettierignore @@ -0,0 +1,2 @@ +content +webforms