diff --git a/frontend/.prettierrc b/frontend/.prettierrc deleted file mode 100644 index eb8da3b69..000000000 --- a/frontend/.prettierrc +++ /dev/null @@ -1,2 +0,0 @@ ---- -printWidth: 110 \ No newline at end of file diff --git a/frontend/.prettierrc.json b/frontend/.prettierrc.json new file mode 100644 index 000000000..f6769669c --- /dev/null +++ b/frontend/.prettierrc.json @@ -0,0 +1,11 @@ +{ + "overrides": [ + { + "files": "*.scss", + "options": { + "printWidth": 110 + } + } + ] +} + diff --git a/frontend/package.json b/frontend/package.json index 57df55eda..ed9ef3bcc 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -73,7 +73,7 @@ "p-limit": "^5.0.0", "postcss": "^8.4.38", "postcss-clean": "^1.2.2", - "prettier": "^3.2.5", + "prettier": "3.3.2", "pretty-time": "^1.1.0", "prop-types": "^15.8.1", "rimraf": "^5.0.7", diff --git a/frontend/yarn.lock b/frontend/yarn.lock index d96dca56a..36f2b0f36 100644 --- a/frontend/yarn.lock +++ b/frontend/yarn.lock @@ -7950,7 +7950,7 @@ __metadata: postcss: "npm:^8.4.38" postcss-clean: "npm:^1.2.2" postcss-modules: "npm:^6.0.0" - prettier: "npm:^3.2.5" + prettier: "npm:3.3.2" pretty-time: "npm:^1.1.0" prop-types: "npm:^15.8.1" randomcolor: "npm:^0.6.2" @@ -12093,6 +12093,15 @@ __metadata: languageName: node 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": version: 2.8.8 resolution: "prettier@npm:2.8.8" @@ -12102,15 +12111,6 @@ __metadata: languageName: node 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": version: 27.5.1 resolution: "pretty-format@npm:27.5.1"