🤖 Merge PR #47036 Update prettier to include new config by @ntotten

* Update prettier to include new config

* Update index.d.ts
This commit is contained in:
Nathan Totten 2020-08-27 09:29:44 -04:00 committed by GitHub
parent b392c8a4a9
commit 352d27df82
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,4 +1,4 @@
// Type definitions for prettier 2.0
// Type definitions for prettier 2.1
// Project: https://github.com/prettier/prettier, https://prettier.io
// Definitions by: Ika <https://github.com/ikatyang>,
// Ifiok Jr. <https://github.com/ifiokjr>,
@ -145,6 +145,11 @@ export interface RequiredOptions extends doc.printer.Options {
* @default false
*/
vueIndentScriptAndStyle: boolean;
/**
* Control whether Prettier formats quoted code embedded in the file.
* @default 'auto'
*/
embeddedLanguageFormatting: 'auto' | 'off';
}
export interface ParserOptions extends RequiredOptions {