From 7cbc39a1af735e855fae1a8d2ad03bb576fb1971 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Arnaud=20Barr=C3=A9?= Date: Mon, 31 Jul 2023 09:03:36 +0200 Subject: [PATCH] chore: update prettier to v3 (#201) --- .prettierrc.json | 3 --- package.json | 2 +- playground/mdx/index.html | 2 +- playground/ssr-react/index.html | 2 +- pnpm-lock.yaml | 10 +++++----- 5 files changed, 8 insertions(+), 11 deletions(-) diff --git a/.prettierrc.json b/.prettierrc.json index 568ce1a2..6a3a2f9a 100644 --- a/.prettierrc.json +++ b/.prettierrc.json @@ -1,9 +1,6 @@ { "semi": false, - "tabWidth": 2, "singleQuote": true, - "printWidth": 80, - "trailingComma": "all", "overrides": [ { "files": ["*.json5"], diff --git a/package.json b/package.json index ed13547e..1130d888 100644 --- a/package.json +++ b/package.json @@ -47,7 +47,7 @@ "npm-run-all": "^4.1.5", "picocolors": "^1.0.0", "playwright-chromium": "^1.36.2", - "prettier": "2.8.8", + "prettier": "^3.0.0", "rollup": "^3.27.0", "simple-git-hooks": "^2.9.0", "tsx": "^3.12.7", diff --git a/playground/mdx/index.html b/playground/mdx/index.html index 39de1b79..c18a002d 100644 --- a/playground/mdx/index.html +++ b/playground/mdx/index.html @@ -1,4 +1,4 @@ - + diff --git a/playground/ssr-react/index.html b/playground/ssr-react/index.html index 1c891c04..1433d466 100644 --- a/playground/ssr-react/index.html +++ b/playground/ssr-react/index.html @@ -1,4 +1,4 @@ - + diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index f3c6defd..204e5d0a 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -57,8 +57,8 @@ importers: specifier: ^1.36.2 version: 1.36.2 prettier: - specifier: 2.8.8 - version: 2.8.8 + specifier: ^3.0.0 + version: 3.0.0 rollup: specifier: ^3.27.0 version: 3.27.0 @@ -4822,9 +4822,9 @@ packages: engines: {node: '>= 0.8.0'} dev: true - /prettier@2.8.8: - resolution: {integrity: sha512-tdN8qQGvNjw4CHbY+XXk0JgCXn9QiF21a55rBe5LJAU+kDyC4WQn4+awm2Xfk2lQMk5fKup9XgzTZtGkjBdP9Q==} - engines: {node: '>=10.13.0'} + /prettier@3.0.0: + resolution: {integrity: sha512-zBf5eHpwHOGPC47h0zrPyNn+eAEIdEzfywMoYn2XPi0P44Zp0tSq64rq0xAREh4auw2cJZHo9QUob+NqCQky4g==} + engines: {node: '>=14'} hasBin: true dev: true