Skip to content

Conversation

AllyW
Copy link
Contributor

@AllyW AllyW commented Apr 22, 2025

Global prettier config shared between src/typespec-aaz and src/web:

tabWidth: 2
useTabs: false
printWidth: 120
singleQuote: false
trailingComma: "all"
semi: true
quoteProps: "consistent"
endOfLine: lf
arrowParens: always

For VSCode IDE usage:
Prettier extension needs to be installed in vscode IDE and project opened in aaz-dev-tools folder (.prettierignore and .vscode/settings.json is set in project root).
Prettier config is set in .prettierrc.yaml under src/web and src/typespec-aaz folder.

For CLI usage:

  1. check format: npx prettier --check .\src\web
  2. correct format: npx prettier --write .\src\web

kairu-ms
kairu-ms previously approved these changes Apr 22, 2025
@AllyW AllyW merged commit 1f05030 into Azure:dev Apr 22, 2025
3 checks passed
@AllyW AllyW deleted the add-tests branch April 22, 2025 09:17
@necusjz necusjz mentioned this pull request Jul 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants