diff --git a/package.json b/package.json index 5fb186c..e9c53af 100644 --- a/package.json +++ b/package.json @@ -53,7 +53,7 @@ "husky": "^8.0.3", "lint-staged": "^13.2.3", "mini-css-extract-plugin": "^2.7.6", - "prettier": "^2.8.8", + "prettier": "^3.0.0", "rimraf": "^5.0.1", "run-node-webpack-plugin": "^1.3.0", "sass": "^1.63.6", @@ -72,12 +72,7 @@ }, "engineStrict": true, "lint-staged": { - "*.{ts,tsx,js}": [ - "prettier --write", - "eslint --fix" - ], - "package.json": [ - "sortpack" - ] + "*.{ts,tsx,js}": ["prettier --write", "eslint --fix"], + "package.json": ["sortpack"] } } diff --git a/webpack.config.js b/webpack.config.js index 0f8701e..a9a484b 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -76,7 +76,7 @@ const createServerConfig = (_env, mode) => { config.plugins.push( new RunNodeWebpackPlugin({ runOnlyInWatchMode: true, - }) + }), ); } diff --git a/yarn.lock b/yarn.lock index a3ded09..c705029 100644 --- a/yarn.lock +++ b/yarn.lock @@ -6260,10 +6260,10 @@ prettier-linter-helpers@^1.0.0: dependencies: fast-diff "^1.1.2" -prettier@^2.8.8: - version "2.8.8" - resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.8.8.tgz#e8c5d7e98a4305ffe3de2e1fc4aca1a71c28b1da" - integrity sha512-tdN8qQGvNjw4CHbY+XXk0JgCXn9QiF21a55rBe5LJAU+kDyC4WQn4+awm2Xfk2lQMk5fKup9XgzTZtGkjBdP9Q== +prettier@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/prettier/-/prettier-3.0.0.tgz#e7b19f691245a21d618c68bc54dc06122f6105ae" + integrity sha512-zBf5eHpwHOGPC47h0zrPyNn+eAEIdEzfywMoYn2XPi0P44Zp0tSq64rq0xAREh4auw2cJZHo9QUob+NqCQky4g== process-nextick-args@~2.0.0: version "2.0.1"