Skip to content

Commit e65ffdb

Browse files
Merge pull request #1 from Thinkmill/andarist/updade-prettier-types
Bump `@types/prettier`
2 parents c6bb407 + 0aa7c33 commit e65ffdb

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

.prettierrc.js

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
// Documentation for this file: https://prettier.io/docs/en/configuration.html
2+
3+
/** @type {import('prettier').Options} */
24
module.exports = {
35
// Use .gitattributes to manage newlines
46
endOfLine: "auto",
57

68
// Avoid line breaks in markdown
79
proseWrap: "never",
810

9-
// Prettier plugins
10-
//
11-
// Disabling search dirs and pointing directly at folder paths relative to this config file
12-
// makes it easier for VSCode and WebStorm to find your plugins.
13-
pluginSearchDirs: [],
14-
plugins: ["./node_modules/prettier-plugin-packagejson"]
11+
// Disabling search dirs and pointing directly at plugins
12+
// makes it easier for VSCode and WebStorm to find them.
13+
pluginSearchDirs: false,
14+
plugins: [require("prettier-plugin-packagejson")],
1515
};

yarn.lock

+3-3
Original file line numberDiff line numberDiff line change
@@ -2848,9 +2848,9 @@
28482848
"@types/node" "*"
28492849

28502850
"@types/prettier@^2.0.0":
2851-
version "2.0.2"
2852-
resolved "https://registry.yarnpkg.com/@types/prettier/-/prettier-2.0.2.tgz#5bb52ee68d0f8efa9cc0099920e56be6cc4e37f3"
2853-
integrity sha512-IkVfat549ggtkZUthUzEX49562eGikhSYeVGX97SkMFn+sTZrgRewXjQ4tPKFPCykZHkX1Zfd9OoELGqKU2jJA==
2851+
version "2.7.2"
2852+
resolved "https://registry.yarnpkg.com/@types/prettier/-/prettier-2.7.2.tgz#6c2324641cc4ba050a8c710b2b251b377581fbf0"
2853+
integrity sha512-KufADq8uQqo1pYKVIYzfKbJfBAc0sOeXqGbFaSpv8MRmC/zXgowNZmFcbngndGk922QDmOASEXUZCaY48gs4cg==
28542854

28552855
"@types/prop-types@*":
28562856
version "15.7.3"

0 commit comments

Comments
 (0)