Skip to content

Commit 2b36826

Browse files
author
Ruben van Leeuwen
committed
1802: Explicitly install prettier. Updates prettier.rc
1 parent 1e02a09 commit 2b36826

File tree

3 files changed

+157
-118
lines changed

3 files changed

+157
-118
lines changed

.prettierrc

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,19 @@
1313
"importOrderSeparation": true,
1414
"importOrderSortSpecifiers": true,
1515
"plugins": ["@trivago/prettier-plugin-sort-imports"],
16-
"tabWidth": 4
16+
"tabWidth": 4,
17+
"overrides": [
18+
{
19+
"files": "*.yml",
20+
"options": {
21+
"tabWidth": 2
22+
}
23+
},
24+
{
25+
"files": "*.yaml",
26+
"options": {
27+
"tabWidth": 2
28+
}
29+
}
30+
]
1731
}

package-lock.json

Lines changed: 140 additions & 117 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,14 @@
3838
"@orchestrator-ui/jest-config": "*",
3939
"@orchestrator-ui/tsconfig": "*",
4040
"@testing-library/jest-dom": "^6.6.2",
41+
"@trivago/prettier-plugin-sort-imports": "^5.2.2",
4142
"@types/node": "^22.7.5",
4243
"@types/react": "^18.3.1",
4344
"@types/react-dom": "^18.2.18",
4445
"@types/react-no-ssr": "^1.1.7",
4546
"babel-jest": "^29.7.0",
4647
"husky": "^9.0.11",
48+
"prettier": "^3.5.3",
4749
"typescript": "^5.5.2"
4850
}
4951
}

0 commit comments

Comments
 (0)