@types/prettier
Advanced tools
Comparing version 1.19.0 to 1.19.1
@@ -54,2 +54,3 @@ // Type definitions for prettier 1.19 | ||
* Print semicolons at the ends of statements. | ||
* @default true | ||
*/ | ||
@@ -59,2 +60,3 @@ semi: boolean; | ||
* Use single quotes instead of double quotes. | ||
* @default false | ||
*/ | ||
@@ -64,2 +66,3 @@ singleQuote: boolean; | ||
* Use single quotes in JSX. | ||
* @default false | ||
*/ | ||
@@ -69,2 +72,3 @@ jsxSingleQuote: boolean; | ||
* Print trailing commas wherever possible. | ||
* @default 'none' | ||
*/ | ||
@@ -74,2 +78,3 @@ trailingComma: 'none' | 'es5' | 'all'; | ||
* Print spaces between brackets in object literals. | ||
* @default true | ||
*/ | ||
@@ -79,2 +84,3 @@ bracketSpacing: boolean; | ||
* Put the `>` of a multi-line JSX element at the end of the last line instead of being alone on the next line. | ||
* @default false | ||
*/ | ||
@@ -84,2 +90,3 @@ jsxBracketSameLine: boolean; | ||
* Format only a segment of a file. | ||
* @default 0 | ||
*/ | ||
@@ -89,2 +96,3 @@ rangeStart: number; | ||
* Format only a segment of a file. | ||
* @default Infinity | ||
*/ | ||
@@ -103,2 +111,3 @@ rangeEnd: number; | ||
* This is very useful when gradually transitioning large, unformatted codebases to prettier. | ||
* @default false | ||
*/ | ||
@@ -111,2 +120,3 @@ requirePragma: boolean; | ||
* the file then this option will add a newline to it with the @format marker. | ||
* @default false | ||
*/ | ||
@@ -117,2 +127,3 @@ insertPragma: boolean; | ||
* In some cases you may want to rely on editor/viewer soft wrapping instead, so this option allows you to opt out. | ||
* @default 'preserve' | ||
*/ | ||
@@ -126,2 +137,3 @@ proseWrap: | ||
* Include parentheses around a sole arrow function parameter. | ||
* @default 'avoid' | ||
*/ | ||
@@ -135,2 +147,3 @@ arrowParens: 'avoid' | 'always'; | ||
* How to handle whitespaces in HTML. | ||
* @default 'css' | ||
*/ | ||
@@ -140,2 +153,3 @@ htmlWhitespaceSensitivity: 'css' | 'strict' | 'ignore'; | ||
* Which end of line characters to apply. | ||
* @default 'auto' | ||
*/ | ||
@@ -145,2 +159,3 @@ endOfLine: 'auto' | 'lf' | 'crlf' | 'cr'; | ||
* Change when properties in objects are quoted. | ||
* @default 'as-needed' | ||
*/ | ||
@@ -150,2 +165,3 @@ quoteProps: 'as-needed' | 'consistent' | 'preserve'; | ||
* Whether or not to indent the code inside <script> and <style> tags in Vue files. | ||
* @default false | ||
*/ | ||
@@ -506,2 +522,3 @@ vueIndentScriptAndStyle: boolean; | ||
* Specify the line length that the printer will wrap on. | ||
* @default 80 | ||
*/ | ||
@@ -511,2 +528,3 @@ printWidth: number; | ||
* Specify the number of spaces per indentation-level. | ||
* @default 2 | ||
*/ | ||
@@ -516,2 +534,3 @@ tabWidth: number; | ||
* Indent lines with tabs instead of spaces | ||
* @default false | ||
*/ | ||
@@ -518,0 +537,0 @@ useTabs: boolean; |
{ | ||
"name": "@types/prettier", | ||
"version": "1.19.0", | ||
"version": "1.19.1", | ||
"description": "TypeScript definitions for prettier", | ||
@@ -37,4 +37,4 @@ "license": "MIT", | ||
"dependencies": {}, | ||
"typesPublisherContentHash": "73b60eaab38640a3c8ba3993a0da1c26060d4edaa09277c8bd1542ef7f98bb4a", | ||
"typesPublisherContentHash": "96ef5cd93f13c2840478ad6701394292ed47245d3340dd8315789b0a6892d1e4", | ||
"typeScriptVersion": "2.8" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
### Additional Details | ||
* Last updated: Fri, 22 Nov 2019 17:05:29 GMT | ||
* Last updated: Sun, 22 Mar 2020 21:07:03 GMT | ||
* Dependencies: none | ||
@@ -17,2 +17,2 @@ * Global values: `prettier` | ||
# Credits | ||
These definitions were written by Ika (https://github.com/ikatyang), Ifiok Jr. (https://github.com/ifiokjr), Florian Keller (https://github.com/ffflorian), and Sosuke Suzuki (https://github.com/sosukesuzuki). | ||
These definitions were written by [Ika](https://github.com/ikatyang), [Ifiok Jr.](https://github.com/ifiokjr), [Florian Keller](https://github.com/ffflorian), and [Sosuke Suzuki](https://github.com/sosukesuzuki). |
22558
539