File tree 2 files changed +9
-9
lines changed
2 files changed +9
-9
lines changed Original file line number Diff line number Diff line change 1
1
// Documentation for this file: https://prettier.io/docs/en/configuration.html
2
+
3
+ /** @type {import('prettier').Options } */
2
4
module . exports = {
3
5
// Use .gitattributes to manage newlines
4
6
endOfLine : "auto" ,
5
7
6
8
// Avoid line breaks in markdown
7
9
proseWrap : "never" ,
8
10
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" ) ] ,
15
15
} ;
Original file line number Diff line number Diff line change 2848
2848
"@types/node" "*"
2849
2849
2850
2850
"@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 ==
2854
2854
2855
2855
"@types/prop-types@*":
2856
2856
version "15.7.3"
You can’t perform that action at this time.
0 commit comments