Skip to content

Commit

Permalink
Added prettier to fast-ssr package (#5617)
Browse files Browse the repository at this point in the history
# Pull Request

## 📖 Description

<!---
Provide some background and a description of your work.
What problem does this change solve?
Is this a breaking change, chore, fix, feature, etc?
-->
This change adds prettier to the `@microsoft/fast-ssr` package.

Note: I ran prettier after the changes and it looks like the current files are gtg. This is more for future proofing.

## ✅ Checklist

### General

<!--- Review the list and put an x in the boxes that apply. -->

- [ ] I have included a change request file using `$ yarn change`
- [ ] I have added tests for my changes.
- [x] I have tested my changes.
- [ ] I have updated the project documentation to reflect my changes.
- [x] I have read the [CONTRIBUTING](https://github.com/Microsoft/fast/blob/master/CONTRIBUTING.md) documentation and followed the [standards](https://www.fast.design/docs/community/code-of-conduct/#our-standards) for this project.
  • Loading branch information
janechu authored Feb 17, 2022
1 parent 9ff9657 commit ead10cb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/web-components/fast-ssr/.prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
coverage/*
dist/*
*.spec.ts
2 changes: 2 additions & 0 deletions packages/web-components/fast-ssr/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@
"eslint": "eslint . --ext .ts",
"eslint:fix": "eslint . --ext .ts --fix",
"pretest": "npm run build-server && npm run build",
"prettier:diff": "prettier --config ../../../.prettierrc \"**/*.{ts,html}\" --list-different",
"prettier": "prettier --config ../../../.prettierrc --write \"**/*.{ts,html}\"",
"test": "playwright test --config=playwright.config.cjs",
"test-server": "node server/dist/server.js",
"install-playwright-browsers": "npx playwright install"
Expand Down

0 comments on commit ead10cb

Please sign in to comment.