Skip to content

Commit ae2f997

Browse files
fix prettier ignore
1 parent 50d9ef1 commit ae2f997

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.prettierignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
pnpm-lock.yaml
2+
**/pnpm-lock.yaml
3+
**/*.json

packages/cli-core/src/utils/yaml.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,17 @@ import { readFileSync } from 'node:fs';
22
import * as yaml from 'yaml';
33

44
export const YAML_SYNC_RULES_SCHEMA = /* yaml */ `
5+
# Adds YAML Schema support for VSCode users with the YAML extension installed. This enables features like validation and autocompletion based on the provided schema.
56
# yaml-language-server: $schema=https://unpkg.com/@powersync/service-sync-rules@latest/schema/sync_rules.json
67
`.trim();
78

89
export const YAML_SERVICE_SCHEMA = /* yaml */ `
10+
# Adds YAML Schema support for VSCode users with the YAML extension installed. This enables features like validation and autocompletion based on the provided schema.
911
# yaml-language-server: $schema=https://unpkg.com/@powersync/cli-schemas@latest/json-schema/service-config.json
1012
`.trim();
1113

1214
export const YAML_CLI_SCHEMA = /* yaml */ `
15+
# Adds YAML Schema support for VSCode users with the YAML extension installed. This enables features like validation and autocompletion based on the provided schema.
1316
# yaml-language-server: $schema=https://unpkg.com/@powersync/cli-schemas@latest/json-schema/cli-config.json
1417
`.trim();
1518

0 commit comments

Comments
 (0)