prettier/tests
Christopher Chedeau f8ff7e5cd2 Add TSArrayType to ast-types (#1690) 2017-05-23 16:31:01 -07:00
..
array_spread Prittier printing of snapshots (#1190) 2017-04-12 13:41:51 -07:00
arrays Fix boolean for empty objects (#1590) 2017-05-12 07:48:03 -07:00
arrow-call Run Prettier on all source files (#1648) 2017-05-21 08:13:11 -07:00
arrows Do not inline arrow when argument has a leading comment (#1660) 2017-05-22 09:40:19 -04:00
assignment Remove Parens from SequenceExpressions in ForStatements (#1597) 2017-05-12 10:14:58 -07:00
assignment_comments Prittier printing of snapshots (#1190) 2017-04-12 13:41:51 -07:00
assignment_expression Prittier printing of snapshots (#1190) 2017-04-12 13:41:51 -07:00
async Ensure parens for more await cases (#1595) 2017-05-11 19:06:54 -07:00
binary-expressions Fix boolean for empty objects (#1590) 2017-05-12 07:48:03 -07:00
binary_math Prittier printing of snapshots (#1190) 2017-04-12 13:41:51 -07:00
bracketSpacing Run Prettier on all source files (#1648) 2017-05-21 08:13:11 -07:00
break-calls Prittier printing of snapshots (#1190) 2017-04-12 13:41:51 -07:00
class_comment Prittier printing of snapshots (#1190) 2017-04-12 13:41:51 -07:00
class_extends Prittier printing of snapshots (#1190) 2017-04-12 13:41:51 -07:00
classes Prittier printing of snapshots (#1190) 2017-04-12 13:41:51 -07:00
comments Move Comments to the end in TemplateLiteral (#1598) 2017-05-12 10:04:22 -07:00
computed_props Prittier printing of snapshots (#1190) 2017-04-12 13:41:51 -07:00
conditional Prittier printing of snapshots (#1190) 2017-04-12 13:41:51 -07:00
decorators Prittier printing of snapshots (#1190) 2017-04-12 13:41:51 -07:00
directives Unescape unnecessarily escaped characters in strings (#1575) 2017-05-10 16:02:49 -07:00
do Prittier printing of snapshots (#1190) 2017-04-12 13:41:51 -07:00
dynamic_import Prittier printing of snapshots (#1190) 2017-04-12 13:41:51 -07:00
empty Do not throw on an empty file with a ; (#1503) 2017-05-04 09:40:11 -07:00
empty_paren_comment Fix duplicate comments in classes (#1349) 2017-04-19 11:59:23 -07:00
empty_statement Fix empty line in block with EmptyStatement (#1375) 2017-04-22 07:57:52 -07:00
es6modules Run Prettier on all source files (#1648) 2017-05-21 08:13:11 -07:00
exact_object Prittier printing of snapshots (#1190) 2017-04-12 13:41:51 -07:00
export Run Prettier on all source files (#1648) 2017-05-21 08:13:11 -07:00
export_default Prittier printing of snapshots (#1190) 2017-04-12 13:41:51 -07:00
export_extension Prittier printing of snapshots (#1190) 2017-04-12 13:41:51 -07:00
exports Prittier printing of snapshots (#1190) 2017-04-12 13:41:51 -07:00
expression_statement Prittier printing of snapshots (#1190) 2017-04-12 13:41:51 -07:00
first_argument_expansion Prittier printing of snapshots (#1190) 2017-04-12 13:41:51 -07:00
flow Bump Babylon and enable additional tests (#1668) 2017-05-22 15:31:53 -07:00
flow_array_comments Prittier printing of snapshots (#1190) 2017-04-12 13:41:51 -07:00
flow_array_union Prittier printing of snapshots (#1190) 2017-04-12 13:41:51 -07:00
flow_class_field Add test for flow class field override (#1669) 2017-05-22 15:54:20 -07:00
flow_comments Run Prettier on all source files (#1648) 2017-05-21 08:13:11 -07:00
flow_function_parentheses Don't break for unparenthesised single argument flow function (#1452) 2017-05-01 14:39:46 -07:00
flow_generic Bump Babylon and enable additional tests (#1668) 2017-05-22 15:31:53 -07:00
flow_import_type_specifier Prittier printing of snapshots (#1190) 2017-04-12 13:41:51 -07:00
flow_method Prittier printing of snapshots (#1190) 2017-04-12 13:41:51 -07:00
flow_object_comment Prittier printing of snapshots (#1190) 2017-04-12 13:41:51 -07:00
flow_object_order Run Prettier on all source files (#1648) 2017-05-21 08:13:11 -07:00
flow_return_arrow Fix optional flow parenthesis (#1357) 2017-04-24 16:58:30 -04:00
flow_type_declarations Allow flow declarations to break on StringLiteralTypeAnnotations (#1437) 2017-04-27 11:21:42 -07:00
for Put loop bodies on the same line when possible (#1498) 2017-05-03 15:50:48 -07:00
function update typescript parser (#1578) 2017-05-10 14:11:50 -07:00
function_single_destructuring Break inline object first in function arguments (#1453) (#1173) 2017-05-01 19:12:53 -07:00
if Fix own line last if comment (#1219) 2017-04-12 17:26:44 -07:00
ignore Prittier printing of snapshots (#1190) 2017-04-12 13:41:51 -07:00
import Fix last comment of import (#1677) 2017-05-23 12:33:46 -07:00
interface Prittier printing of snapshots (#1190) 2017-04-12 13:41:51 -07:00
intersection Prittier printing of snapshots (#1190) 2017-04-12 13:41:51 -07:00
jsx Inline chained conditionals inside of jsx attribute (#1519) 2017-05-05 21:44:50 -07:00
jsx-multiline-assign Prittier printing of snapshots (#1190) 2017-04-12 13:41:51 -07:00
jsx-newlines Ensure JSXOpeningElement does not break with single text attr on Babylon (#1229) 2017-04-13 07:09:40 -07:00
jsx-significant-space New primitive to fill a line with as many doc parts as possible (#1120) 2017-05-10 16:13:21 -07:00
jsx-split-attrs Hug JSX text after multi line tags (#1671) 2017-05-23 11:56:21 -07:00
jsx-stateless-arrow-fn Prittier printing of snapshots (#1190) 2017-04-12 13:41:51 -07:00
jsx-text-wrap Hug JSX text after multi line tags (#1671) 2017-05-23 11:56:21 -07:00
jsx-whitespace Preserve unusual unicode whitespace (#1658) 2017-05-23 09:09:29 -07:00
jsx_escape Preserve unusual unicode whitespace (#1658) 2017-05-23 09:09:29 -07:00
jsx_last_line Prittier printing of snapshots (#1190) 2017-04-12 13:41:51 -07:00
jsx_template Prittier printing of snapshots (#1190) 2017-04-12 13:41:51 -07:00
label Prittier printing of snapshots (#1190) 2017-04-12 13:41:51 -07:00
last_argument_expansion Only add parenthesis on ternaries inside of arrow functions if doesn't break (#1450) 2017-05-01 14:32:52 -07:00
line Prittier printing of snapshots (#1190) 2017-04-12 13:41:51 -07:00
line_suffix_boundary Move Comments to the end in TemplateLiteral (#1598) 2017-05-12 10:04:22 -07:00
literal Prittier printing of snapshots (#1190) 2017-04-12 13:41:51 -07:00
member Prittier printing of snapshots (#1190) 2017-04-12 13:41:51 -07:00
method-chain Handle trailing comments in member chains (#1686) 2017-05-23 13:58:52 -07:00
new_expression Prittier printing of snapshots (#1190) 2017-04-12 13:41:51 -07:00
newline Prittier printing of snapshots (#1190) 2017-04-12 13:41:51 -07:00
no-semi Put loop bodies on the same line when possible (#1498) 2017-05-03 15:50:48 -07:00
no-semi-babylon-extensions Require '::a.b' to have a preceding ; in no-semi style (#1442) 2017-04-27 14:00:04 -07:00
non-strict (Babylon) Fall back to non-strict mode (#1587) 2017-05-12 07:32:27 -07:00
object-prop-break-in Prittier printing of snapshots (#1190) 2017-04-12 13:41:51 -07:00
object_colon_bug Prittier printing of snapshots (#1190) 2017-04-12 13:41:51 -07:00
object_property_comment Prittier printing of snapshots (#1190) 2017-04-12 13:41:51 -07:00
objects Prittier printing of snapshots (#1190) 2017-04-12 13:41:51 -07:00
optional-type-name Prittier printing of snapshots (#1190) 2017-04-12 13:41:51 -07:00
performance Bail when traversing === groups (#1294) 2017-04-18 08:39:47 -07:00
preserve_line Prittier printing of snapshots (#1190) 2017-04-12 13:41:51 -07:00
quotes Run Prettier on all source files (#1648) 2017-05-21 08:13:11 -07:00
range Find nearest node when formatting range (#1659) 2017-05-23 07:43:58 -07:00
regex Fix TypeScript regex (#1527) 2017-05-05 21:39:11 -07:00
require Prittier printing of snapshots (#1190) 2017-04-12 13:41:51 -07:00
rest Fix trailing comma for rest element in Babylon (#1230) 2017-04-13 07:10:08 -07:00
return Prittier printing of snapshots (#1190) 2017-04-12 13:41:51 -07:00
return-outside-function (Babylon) Allow `return` outside function (#1608) 2017-05-14 14:45:33 -07:00
shebang Prittier printing of snapshots (#1190) 2017-04-12 13:41:51 -07:00
strings Don't removeLines() from TemplateLiteral quasis (#1664) 2017-05-22 09:00:01 -07:00
switch Do not indent for switch case with `;` (#1687) 2017-05-23 13:58:43 -07:00
tabWith Run Prettier on all source files (#1648) 2017-05-21 08:13:11 -07:00
template Move Comments to the end in TemplateLiteral (#1598) 2017-05-12 10:04:22 -07:00
template_align Run Prettier on all source files (#1648) 2017-05-21 08:13:11 -07:00
ternaries Run Prettier on all source files (#1648) 2017-05-21 08:13:11 -07:00
test_declarations Prittier printing of snapshots (#1190) 2017-04-12 13:41:51 -07:00
trailing_comma Fix function trailing comment location (#1195) 2017-04-12 14:18:29 -07:00
trailing_whitespace Prittier printing of snapshots (#1190) 2017-04-12 13:41:51 -07:00
try Prittier printing of snapshots (#1190) 2017-04-12 13:41:51 -07:00
typescript Add parenthesis around binary expression inside of update expression (#1672) 2017-05-23 12:33:03 -07:00
typescript_array Add TSArrayType to ast-types (#1690) 2017-05-23 16:31:01 -07:00
typescript_as Add parenthesis for binary expression inside of as (#1682) 2017-05-23 13:14:22 -07:00
typescript_cast Add parenthesis around arrow functions in a cast (#1689) 2017-05-23 16:30:47 -07:00
typescript_class Print typescript class generics (#1673) 2017-05-23 12:33:10 -07:00
typescript_comments Fix TSAbstractClass base (#1676) 2017-05-23 12:34:40 -07:00
typescript_decorators Handle TypeScript decorators (#1678) 2017-05-23 12:33:54 -07:00
typescript_export Do not add double space for export function without body with a comment (#1688) 2017-05-23 16:30:35 -07:00
typescript_import_require Do not put softline before TSImportEqualsDeclaration (#1679) 2017-05-23 12:33:26 -07:00
typescript_nosemi feat(typescript): print semi instead of comma in TS interface (#1548) 2017-05-07 07:39:21 -07:00
typescript_tsx Run Prettier on all source files (#1648) 2017-05-21 08:13:11 -07:00
typescript_tuple Add TSTupleType to ast-types (#1685) 2017-05-23 13:14:30 -07:00
unary Prittier printing of snapshots (#1190) 2017-04-12 13:41:51 -07:00
unary_expression Prittier printing of snapshots (#1190) 2017-04-12 13:41:51 -07:00
unicode Bump Babylon and enable additional tests (#1668) 2017-05-22 15:31:53 -07:00
union_intersection Prittier printing of snapshots (#1190) 2017-04-12 13:41:51 -07:00
update_expression Prittier printing of snapshots (#1190) 2017-04-12 13:41:51 -07:00
variable_declarator Prittier printing of snapshots (#1190) 2017-04-12 13:41:51 -07:00
while Put loop bodies on the same line when possible (#1498) 2017-05-03 15:50:48 -07:00
windows Fix windows line ending on template literals (#1439) 2017-05-01 14:39:03 -07:00
with Put loop bodies on the same line when possible (#1498) 2017-05-03 15:50:48 -07:00
yield Prittier printing of snapshots (#1190) 2017-04-12 13:41:51 -07:00
.eslintrc.js Improve ESLint setup and fix errors (#1656) 2017-05-21 12:11:09 -07:00