cli: provide prettier config

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
Patrik Oldsberg
2024-11-20 22:22:38 +01:00
parent 44ee7dc170
commit 583f3d419e
9 changed files with 19 additions and 27 deletions
+1 -2
View File
@@ -17,7 +17,7 @@
"version": "docusaurus-version",
"write-translations": "docusaurus-write-translations"
},
"prettier": "@spotify/prettier-config",
"prettier": "@backstage/cli/config/prettier",
"dependencies": {
"@docusaurus/core": "^3.1.1",
"@docusaurus/plugin-client-redirects": "^3.1.1",
@@ -38,7 +38,6 @@
"devDependencies": {
"@docusaurus/module-type-aliases": "^3.1.1",
"@docusaurus/tsconfig": "^3.1.1",
"@spotify/prettier-config": "^15.0.0",
"@types/luxon": "^3.0.0",
"@types/webpack-env": "^1.18.0",
"js-yaml": "^4.1.0",
-10
View File
@@ -2684,15 +2684,6 @@ __metadata:
languageName: node
linkType: hard
"@spotify/prettier-config@npm:^15.0.0":
version: 15.0.0
resolution: "@spotify/prettier-config@npm:15.0.0"
peerDependencies:
prettier: 2.x
checksum: aa5ec5739427f9acdb9d62ae6c04f04a344898567239f7ee45c75c6205ebdffbc61747ea8de6e83baf0bc3785359967de4b7097a8723c4b4063ff57dc5cb6c44
languageName: node
linkType: hard
"@svgr/babel-plugin-add-jsx-attribute@npm:8.0.0":
version: 8.0.0
resolution: "@svgr/babel-plugin-add-jsx-attribute@npm:8.0.0"
@@ -4008,7 +3999,6 @@ __metadata:
"@docusaurus/tsconfig": ^3.1.1
"@docusaurus/types": ^3.1.1
"@mdx-js/react": ^3.0.0
"@spotify/prettier-config": ^15.0.0
"@swc/core": ^1.3.46
"@types/luxon": ^3.0.0
"@types/webpack-env": ^1.18.0