0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-19 21:22:31 -05:00

Upgrade prettier and use specific settings for scss files only

This commit is contained in:
Belén Albeza 2024-06-28 10:04:04 +02:00
parent 4345584384
commit e1dc964c4c
4 changed files with 22 additions and 13 deletions

View file

@ -1,2 +0,0 @@
---
printWidth: 110

11
frontend/.prettierrc.json Normal file
View file

@ -0,0 +1,11 @@
{
"overrides": [
{
"files": "*.scss",
"options": {
"printWidth": 110
}
}
]
}

View file

@ -73,7 +73,7 @@
"p-limit": "^5.0.0", "p-limit": "^5.0.0",
"postcss": "^8.4.38", "postcss": "^8.4.38",
"postcss-clean": "^1.2.2", "postcss-clean": "^1.2.2",
"prettier": "^3.2.5", "prettier": "3.3.2",
"pretty-time": "^1.1.0", "pretty-time": "^1.1.0",
"prop-types": "^15.8.1", "prop-types": "^15.8.1",
"rimraf": "^5.0.7", "rimraf": "^5.0.7",

View file

@ -7950,7 +7950,7 @@ __metadata:
postcss: "npm:^8.4.38" postcss: "npm:^8.4.38"
postcss-clean: "npm:^1.2.2" postcss-clean: "npm:^1.2.2"
postcss-modules: "npm:^6.0.0" postcss-modules: "npm:^6.0.0"
prettier: "npm:^3.2.5" prettier: "npm:3.3.2"
pretty-time: "npm:^1.1.0" pretty-time: "npm:^1.1.0"
prop-types: "npm:^15.8.1" prop-types: "npm:^15.8.1"
randomcolor: "npm:^0.6.2" randomcolor: "npm:^0.6.2"
@ -12093,6 +12093,15 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"prettier@npm:3.3.2":
version: 3.3.2
resolution: "prettier@npm:3.3.2"
bin:
prettier: bin/prettier.cjs
checksum: 10c0/39ed27d17f0238da6dd6571d63026566bd790d3d0edac57c285fbab525982060c8f1e01955fe38134ab10f0951a6076da37f015db8173c02f14bc7f0803a384c
languageName: node
linkType: hard
"prettier@npm:^2.8.0": "prettier@npm:^2.8.0":
version: 2.8.8 version: 2.8.8
resolution: "prettier@npm:2.8.8" resolution: "prettier@npm:2.8.8"
@ -12102,15 +12111,6 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"prettier@npm:^3.2.5":
version: 3.2.5
resolution: "prettier@npm:3.2.5"
bin:
prettier: bin/prettier.cjs
checksum: 10c0/ea327f37a7d46f2324a34ad35292af2ad4c4c3c3355da07313339d7e554320f66f65f91e856add8530157a733c6c4a897dc41b577056be5c24c40f739f5ee8c6
languageName: node
linkType: hard
"pretty-format@npm:^27.0.2": "pretty-format@npm:^27.0.2":
version: 27.5.1 version: 27.5.1
resolution: "pretty-format@npm:27.5.1" resolution: "pretty-format@npm:27.5.1"