prettier/tests
James Long 5c39dc02e6 Improve intersection and union type annotation 2017-01-05 14:43:05 -05:00
..
abnormal Update snapshots 2017-01-01 20:20:45 -05:00
annot Use , to separate type fields instead of ; 2017-01-04 17:26:44 -05:00
annot2 Tweak variable declaration printing 2016-12-30 11:56:42 -05:00
any Use , to separate type fields instead of ; 2017-01-04 17:26:44 -05:00
arith Update snapshots 2017-01-01 20:20:45 -05:00
array-filter Break ternary ops across newlines if needed 2017-01-05 12:32:56 -05:00
array_spread Update snapshots 2017-01-01 20:20:45 -05:00
arraylib Break ternary ops across newlines if needed 2017-01-05 12:32:56 -05:00
arrays Use , to separate type fields instead of ; 2017-01-04 17:26:44 -05:00
arrows If function declaration is too long, break all args on separate lines; also fix small bug in output cleansing 2017-01-01 20:33:53 -05:00
async Add `conditionalGroup` to allow manually specifying multiple representations of a document; use it to support expanding last parameter of functions 2017-01-04 15:24:10 -05:00
async_iteration Use , to separate type fields instead of ; 2017-01-04 17:26:44 -05:00
autocomplete Add spaces around certain statements, add --write option, and more 2016-12-30 23:01:07 -05:00
auxiliary update snapshots 2016-12-27 13:29:31 -05:00
binary Improve if/else printing and other clauses 2017-01-05 12:10:14 -05:00
binding Improve if/else printing and other clauses 2017-01-05 12:10:14 -05:00
bom Improve if/else printing and other clauses 2017-01-05 12:10:14 -05:00
bounded_poly Use , to separate type fields instead of ; 2017-01-04 17:26:44 -05:00
break Break ternary ops across newlines if needed 2017-01-05 12:32:56 -05:00
builtin_uses Add spaces around certain statements, add --write option, and more 2016-12-30 23:01:07 -05:00
builtins Add `conditionalGroup` to allow manually specifying multiple representations of a document; use it to support expanding last parameter of functions 2017-01-04 15:24:10 -05:00
call_properties Use , to separate type fields instead of ; 2017-01-04 17:26:44 -05:00
callable Use , to separate type fields instead of ; 2017-01-04 17:26:44 -05:00
check-contents Lots of bug fixes (will do smaller commits from now on) 2016-12-30 00:01:44 -05:00
class_munging Tweak variable declaration printing 2016-12-30 11:56:42 -05:00
class_statics Update snapshots 2017-01-01 20:20:45 -05:00
class_subtyping Update snapshots 2017-01-01 20:20:45 -05:00
class_type Update snapshots 2017-01-01 20:20:45 -05:00
classes Use , to separate type fields instead of ; 2017-01-04 17:26:44 -05:00
closure Improve if/else printing and other clauses 2017-01-05 12:10:14 -05:00
commonjs Add spaces around certain statements, add --write option, and more 2016-12-30 23:01:07 -05:00
computed_props Add spaces around certain statements, add --write option, and more 2016-12-30 23:01:07 -05:00
conditional Break ternary ops across newlines if needed 2017-01-05 12:32:56 -05:00
config_all Tweak variable declaration printing 2016-12-30 11:56:42 -05:00
config_all_false Tweak variable declaration printing 2016-12-30 11:56:42 -05:00
config_all_weak Add spaces around certain statements, add --write option, and more 2016-12-30 23:01:07 -05:00
config_file_extensions Add spaces around certain statements, add --write option, and more 2016-12-30 23:01:07 -05:00
config_ignore Tweak variable declaration printing 2016-12-30 11:56:42 -05:00
config_module_name_mapper_PROJECT_ROOT-1.0 Add option to include spaces inside object/array literals, default to false 2017-01-04 17:23:07 -05:00
config_module_name_mapper_filetype Add option to include spaces inside object/array literals, default to false 2017-01-04 17:23:07 -05:00
config_module_name_rewrite_haste Add option to include spaces inside object/array literals, default to false 2017-01-04 17:23:07 -05:00
config_module_name_rewrite_node Add option to include spaces inside object/array literals, default to false 2017-01-04 17:23:07 -05:00
config_module_system_node_resolve_dirname Add option to include spaces inside object/array literals, default to false 2017-01-04 17:23:07 -05:00
config_munging_underscores Add option to include spaces inside object/array literals, default to false 2017-01-04 17:23:07 -05:00
config_munging_underscores2 Update snapshots 2017-01-01 20:20:45 -05:00
const_params Add spaces around certain statements, add --write option, and more 2016-12-30 23:01:07 -05:00
constructor Add spaces around certain statements, add --write option, and more 2016-12-30 23:01:07 -05:00
constructor_annots Use , to separate type fields instead of ; 2017-01-04 17:26:44 -05:00
contents If function declaration is too long, break all args on separate lines; also fix small bug in output cleansing 2017-01-01 20:33:53 -05:00
core_tests Update snapshots 2017-01-01 20:20:45 -05:00
covariance Update snapshots 2017-01-01 20:20:45 -05:00
coverage Add spaces around certain statements, add --write option, and more 2016-12-30 23:01:07 -05:00
cycle Add spaces around certain statements, add --write option, and more 2016-12-30 23:01:07 -05:00
date Add spaces around certain statements, add --write option, and more 2016-12-30 23:01:07 -05:00
declaration_files_haste Update snapshots 2017-01-01 20:20:45 -05:00
declaration_files_incremental_haste Update snapshots 2017-01-01 20:20:45 -05:00
declaration_files_incremental_node Add option to include spaces inside object/array literals, default to false 2017-01-04 17:23:07 -05:00
declaration_files_node Update snapshots 2017-01-01 20:20:45 -05:00
declare_class Use , to separate type fields instead of ; 2017-01-04 17:26:44 -05:00
declare_export Add option to include spaces inside object/array literals, default to false 2017-01-04 17:23:07 -05:00
declare_fun Add spaces around certain statements, add --write option, and more 2016-12-30 23:01:07 -05:00
declare_module_exports Add option to include spaces inside object/array literals, default to false 2017-01-04 17:23:07 -05:00
declare_type Add option to include spaces inside object/array literals, default to false 2017-01-04 17:23:07 -05:00
def_site_variance Update snapshots 2017-01-01 20:20:45 -05:00
demo Update snapshots 2017-01-01 20:20:45 -05:00
deps Add spaces around certain statements, add --write option, and more 2016-12-30 23:01:07 -05:00
destructuring Use , to separate type fields instead of ; 2017-01-04 17:26:44 -05:00
dictionary Use , to separate type fields instead of ; 2017-01-04 17:26:44 -05:00
disjoint-union-perf Improve intersection and union type annotation 2017-01-05 14:43:05 -05:00
docblock_flow Add spaces around certain statements, add --write option, and more 2016-12-30 23:01:07 -05:00
dom Improve intersection and union type annotation 2017-01-05 14:43:05 -05:00
dump-types Break ternary ops across newlines if needed 2017-01-05 12:32:56 -05:00
duplicate_methods Update snapshots 2017-01-01 20:20:45 -05:00
encaps Update snapshots 2017-01-01 20:20:45 -05:00
enumerror Use , to separate type fields instead of ; 2017-01-04 17:26:44 -05:00
equals Update snapshots 2017-01-01 20:20:45 -05:00
error_messages Improve if/else printing and other clauses 2017-01-05 12:10:14 -05:00
es6modules Add option to include spaces inside object/array literals, default to false 2017-01-04 17:23:07 -05:00
es_declare_module Use , to separate type fields instead of ; 2017-01-04 17:26:44 -05:00
esproposal_export_star_as.enable Add option to include spaces inside object/array literals, default to false 2017-01-04 17:23:07 -05:00
esproposal_export_star_as.ignore Add option to include spaces inside object/array literals, default to false 2017-01-04 17:23:07 -05:00
export_default Update snapshots 2017-01-01 20:20:45 -05:00
export_type Add option to include spaces inside object/array literals, default to false 2017-01-04 17:23:07 -05:00
extensions Add spaces around certain statements, add --write option, and more 2016-12-30 23:01:07 -05:00
facebook_fbt_none Add spaces around certain statements, add --write option, and more 2016-12-30 23:01:07 -05:00
facebook_fbt_some Add spaces around certain statements, add --write option, and more 2016-12-30 23:01:07 -05:00
facebookisms Use , to separate type fields instead of ; 2017-01-04 17:26:44 -05:00
fetch Consistently print function parameters the correct way 2017-01-04 16:52:49 -05:00
find-module Update snapshots 2017-01-01 20:20:45 -05:00
fixpoint Add `conditionalGroup` to allow manually specifying multiple representations of a document; use it to support expanding last parameter of functions 2017-01-04 15:24:10 -05:00
flow_ast.template_strings update snapshots 2016-12-27 13:29:31 -05:00
for Update snapshots 2017-01-01 20:20:45 -05:00
forof Update snapshots 2017-01-01 20:20:45 -05:00
function Update snapshots 2017-01-01 20:20:45 -05:00
funrec Add spaces around certain statements, add --write option, and more 2016-12-30 23:01:07 -05:00
generators Improve if/else printing and other clauses 2017-01-05 12:10:14 -05:00
generics Update snapshots 2017-01-01 20:20:45 -05:00
geolocation Fix a bug with expanding function args by passing group opts properly 2017-01-04 17:08:28 -05:00
get-def Add option to include spaces inside object/array literals, default to false 2017-01-04 17:23:07 -05:00
get-def2 Use , to separate type fields instead of ; 2017-01-04 17:26:44 -05:00
get-imports-and-importers Add spaces around certain statements, add --write option, and more 2016-12-30 23:01:07 -05:00
getters_and_setters_disabled Make all tests pass the crash test and fix a few more bugs 2016-12-27 21:40:04 -05:00
getters_and_setters_enabled Update snapshots 2017-01-01 20:20:45 -05:00
haste_cycle Tweak variable declaration printing 2016-12-30 11:56:42 -05:00
haste_dupe Tweak variable declaration printing 2016-12-30 11:56:42 -05:00
ignore_package Add spaces around certain statements, add --write option, and more 2016-12-30 23:01:07 -05:00
immutable_methods Add spaces around certain statements, add --write option, and more 2016-12-30 23:01:07 -05:00
import_type Add option to include spaces inside object/array literals, default to false 2017-01-04 17:23:07 -05:00
import_typeof Add option to include spaces inside object/array literals, default to false 2017-01-04 17:23:07 -05:00
include Tweak variable declaration printing 2016-12-30 11:56:42 -05:00
incremental Tweak variable declaration printing 2016-12-30 11:56:42 -05:00
incremental_basic Add spaces around certain statements, add --write option, and more 2016-12-30 23:01:07 -05:00
incremental_cycle Add option to include spaces inside object/array literals, default to false 2017-01-04 17:23:07 -05:00
incremental_delete Add spaces around certain statements, add --write option, and more 2016-12-30 23:01:07 -05:00
incremental_duplicate_delete update snapshots 2016-12-27 13:29:31 -05:00
incremental_json Tweak variable declaration printing 2016-12-30 11:56:42 -05:00
incremental_mixed_naming_cycle Add spaces around certain statements, add --write option, and more 2016-12-30 23:01:07 -05:00
incremental_non_flow_move Tweak variable declaration printing 2016-12-30 11:56:42 -05:00
incremental_path/dir Tweak variable declaration printing 2016-12-30 11:56:42 -05:00
indexer Use , to separate type fields instead of ; 2017-01-04 17:26:44 -05:00
init Update snapshots 2017-01-01 20:20:45 -05:00
instanceof Break ternary ops across newlines if needed 2017-01-05 12:32:56 -05:00
integration Tweak variable declaration printing 2016-12-30 11:56:42 -05:00
interface Use , to separate type fields instead of ; 2017-01-04 17:26:44 -05:00
intersection Improve intersection and union type annotation 2017-01-05 14:43:05 -05:00
issues-11 Add spaces around certain statements, add --write option, and more 2016-12-30 23:01:07 -05:00
iter Improve if/else printing and other clauses 2017-01-05 12:10:14 -05:00
iterable Update snapshots 2017-01-01 20:20:45 -05:00
jsx_intrinsics.builtin Add spaces around certain statements, add --write option, and more 2016-12-30 23:01:07 -05:00
jsx_intrinsics.custom Use , to separate type fields instead of ; 2017-01-04 17:26:44 -05:00
keys Update snapshots 2017-01-01 20:20:45 -05:00
keyvalue Tweak variable declaration printing 2016-12-30 11:56:42 -05:00
last_duplicate_property_wins Update snapshots 2017-01-01 20:20:45 -05:00
lib Improve if/else printing and other clauses 2017-01-05 12:10:14 -05:00
lib_interfaces/declarations Use , to separate type fields instead of ; 2017-01-04 17:26:44 -05:00
libconfig Add spaces around certain statements, add --write option, and more 2016-12-30 23:01:07 -05:00
libdef_ignored_module Add spaces around certain statements, add --write option, and more 2016-12-30 23:01:07 -05:00
liberr Lots of bug fixes (will do smaller commits from now on) 2016-12-30 00:01:44 -05:00
libflow-typed Tweak variable declaration printing 2016-12-30 11:56:42 -05:00
librec Add spaces around certain statements, add --write option, and more 2016-12-30 23:01:07 -05:00
literal Update snapshots 2017-01-01 20:20:45 -05:00
locals Update snapshots 2017-01-01 20:20:45 -05:00
logical Use , to separate type fields instead of ; 2017-01-04 17:26:44 -05:00
loners Update snapshots 2017-01-01 20:20:45 -05:00
method_properties Add option to include spaces inside object/array literals, default to false 2017-01-04 17:23:07 -05:00
misc Update snapshots 2017-01-01 20:20:45 -05:00
missing_annotation Add spaces around certain statements, add --write option, and more 2016-12-30 23:01:07 -05:00
modified_lib Add option to include spaces inside object/array literals, default to false 2017-01-04 17:23:07 -05:00
module_not_found_errors/src Add spaces around certain statements, add --write option, and more 2016-12-30 23:01:07 -05:00
module_redirect Tweak variable declaration printing 2016-12-30 11:56:42 -05:00
module_use_strict Make all tests pass the crash test and fix a few more bugs 2016-12-27 21:40:04 -05:00
modules Update snapshots 2017-01-01 20:20:45 -05:00
more_annot Use , to separate type fields instead of ; 2017-01-04 17:26:44 -05:00
more_classes Update snapshots 2017-01-01 20:20:45 -05:00
more_generics Update snapshots 2017-01-01 20:20:45 -05:00
more_path Improve if/else printing and other clauses 2017-01-05 12:10:14 -05:00
more_react Various fixes with destructuring default, JSX, and more; all tests pass! 2016-12-30 17:00:11 -05:00
more_statics Tweak variable declaration printing 2016-12-30 11:56:42 -05:00
name_prop Tweak variable declaration printing 2016-12-30 11:56:42 -05:00
namespace Update snapshots 2017-01-01 20:20:45 -05:00
new_react Tweak variable declaration printing 2016-12-30 11:56:42 -05:00
node_haste Tweak variable declaration printing 2016-12-30 11:56:42 -05:00
node_modules_with_symlinks Add spaces around certain statements, add --write option, and more 2016-12-30 23:01:07 -05:00
node_modules_without_json Tweak variable declaration printing 2016-12-30 11:56:42 -05:00
node_tests Always output comment newlines, fix edge case with function param output 2017-01-04 22:26:46 -05:00
nullable Update snapshots 2017-01-01 20:20:45 -05:00
number_constants update snapshots 2016-12-27 13:29:31 -05:00
object-method Add option to include spaces inside object/array literals, default to false 2017-01-04 17:23:07 -05:00
object_annot Add spaces around certain statements, add --write option, and more 2016-12-30 23:01:07 -05:00
object_api Use , to separate type fields instead of ; 2017-01-04 17:26:44 -05:00
object_assign Use , to separate type fields instead of ; 2017-01-04 17:26:44 -05:00
object_freeze Update snapshots 2017-01-01 20:20:45 -05:00
object_is Update snapshots 2017-01-01 20:20:45 -05:00
objects Use , to separate type fields instead of ; 2017-01-04 17:26:44 -05:00
objmap Add `conditionalGroup` to allow manually specifying multiple representations of a document; use it to support expanding last parameter of functions 2017-01-04 15:24:10 -05:00
optional Update snapshots 2017-01-01 20:20:45 -05:00
optional_props Use , to separate type fields instead of ; 2017-01-04 17:26:44 -05:00
overload Use , to separate type fields instead of ; 2017-01-04 17:26:44 -05:00
parse Use , to separate type fields instead of ; 2017-01-04 17:26:44 -05:00
parse_error_haste Lots of bug fixes (will do smaller commits from now on) 2016-12-30 00:01:44 -05:00
parse_error_node Lots of bug fixes (will do smaller commits from now on) 2016-12-30 00:01:44 -05:00
path Update snapshots 2017-01-01 20:20:45 -05:00
plsummit Update snapshots 2017-01-01 20:20:45 -05:00
poly Break ternary ops across newlines if needed 2017-01-05 12:32:56 -05:00
poly_class_export Add spaces around certain statements, add --write option, and more 2016-12-30 23:01:07 -05:00
poly_overload/decls Use , to separate type fields instead of ; 2017-01-04 17:26:44 -05:00
predicates-abstract Use , to separate type fields instead of ; 2017-01-04 17:26:44 -05:00
predicates-declared Break ternary ops across newlines if needed 2017-01-05 12:32:56 -05:00
predicates-inferred Update snapshots 2017-01-01 20:20:45 -05:00
predicates-parsing Consistently print function parameters the correct way 2017-01-04 16:52:49 -05:00
private Update snapshots 2017-01-01 20:20:45 -05:00
promises Always output comment newlines, fix edge case with function param output 2017-01-04 22:26:46 -05:00
pure_component Add spaces around certain statements, add --write option, and more 2016-12-30 23:01:07 -05:00
qualified Tweak variable declaration printing 2016-12-30 11:56:42 -05:00
react Break ternary ops across newlines if needed 2017-01-05 12:32:56 -05:00
react_functional Update snapshots 2017-01-01 20:20:45 -05:00
react_modules Add spaces around certain statements, add --write option, and more 2016-12-30 23:01:07 -05:00
rec Consistently print function parameters the correct way 2017-01-04 16:52:49 -05:00
recheck Add option to include spaces inside object/array literals, default to false 2017-01-04 17:23:07 -05:00
recheck-haste Tweak variable declaration printing 2016-12-30 11:56:42 -05:00
record Use , to separate type fields instead of ; 2017-01-04 17:26:44 -05:00
refi Break ternary ops across newlines if needed 2017-01-05 12:32:56 -05:00
refinements Break ternary ops across newlines if needed 2017-01-05 12:32:56 -05:00
reflection Tweak variable declaration printing 2016-12-30 11:56:42 -05:00
regexp Tweak variable declaration printing 2016-12-30 11:56:42 -05:00
replace Add spaces around certain statements, add --write option, and more 2016-12-30 23:01:07 -05:00
require Update snapshots 2017-01-01 20:20:45 -05:00
requireLazy Add `conditionalGroup` to allow manually specifying multiple representations of a document; use it to support expanding last parameter of functions 2017-01-04 15:24:10 -05:00
return Update snapshots 2017-01-01 20:20:45 -05:00
return_new Use , to separate type fields instead of ; 2017-01-04 17:26:44 -05:00
seal Add spaces around certain statements, add --write option, and more 2016-12-30 23:01:07 -05:00
sealed Update snapshots 2017-01-01 20:20:45 -05:00
sealed_objects Use , to separate type fields instead of ; 2017-01-04 17:26:44 -05:00
shape Add spaces around certain statements, add --write option, and more 2016-12-30 23:01:07 -05:00
simple_arrays Update snapshots 2017-01-01 20:20:45 -05:00
singleton Update snapshots 2017-01-01 20:20:45 -05:00
spread Use , to separate type fields instead of ; 2017-01-04 17:26:44 -05:00
static_overload Use , to separate type fields instead of ; 2017-01-04 17:26:44 -05:00
statics Update snapshots 2017-01-01 20:20:45 -05:00
strict Update snapshots 2017-01-01 20:20:45 -05:00
strict_requires Add spaces around certain statements, add --write option, and more 2016-12-30 23:01:07 -05:00
strings Add spaces around certain statements, add --write option, and more 2016-12-30 23:01:07 -05:00
structural_subtyping Use , to separate type fields instead of ; 2017-01-04 17:26:44 -05:00
suggest Update snapshots 2017-01-01 20:20:45 -05:00
super Improve if/else printing and other clauses 2017-01-05 12:10:14 -05:00
suppress Update snapshots 2017-01-01 20:20:45 -05:00
suppress_incremental Make all tests pass the crash test and fix a few more bugs 2016-12-27 21:40:04 -05:00
suppress_traces Update snapshots 2017-01-01 20:20:45 -05:00
switch Break ternary ops across newlines if needed 2017-01-05 12:32:56 -05:00
symbol Tweak variable declaration printing 2016-12-30 11:56:42 -05:00
symlink Add option to include spaces inside object/array literals, default to false 2017-01-04 17:23:07 -05:00
tagged-unions Improve if/else printing and other clauses 2017-01-05 12:10:14 -05:00
taint Update snapshots 2017-01-01 20:20:45 -05:00
template Update snapshots 2017-01-01 20:20:45 -05:00
this Update snapshots 2017-01-01 20:20:45 -05:00
this_ctor Make all tests pass the crash test and fix a few more bugs 2016-12-27 21:40:04 -05:00
this_type Add option to include spaces inside object/array literals, default to false 2017-01-04 17:23:07 -05:00
throw Update snapshots 2017-01-01 20:20:45 -05:00
traces Consistently print function parameters the correct way 2017-01-04 16:52:49 -05:00
traits Use , to separate type fields instead of ; 2017-01-04 17:26:44 -05:00
try Improve if/else printing and other clauses 2017-01-05 12:10:14 -05:00
tuples Add spaces around certain statements, add --write option, and more 2016-12-30 23:01:07 -05:00
type-at-pos Improve if/else printing and other clauses 2017-01-05 12:10:14 -05:00
type-destructors Improve if/else printing and other clauses 2017-01-05 12:10:14 -05:00
type-printer Improve intersection and union type annotation 2017-01-05 14:43:05 -05:00
type_args_nonstrict Update snapshots 2017-01-01 20:20:45 -05:00
type_args_strict Update snapshots 2017-01-01 20:20:45 -05:00
type_only_vars Add option to include spaces inside object/array literals, default to false 2017-01-04 17:23:07 -05:00
type_param_defaults Update snapshots 2017-01-01 20:20:45 -05:00
type_param_scope Update snapshots 2017-01-01 20:20:45 -05:00
type_param_variance Update snapshots 2017-01-01 20:20:45 -05:00
type_param_variance2 Use , to separate type fields instead of ; 2017-01-04 17:26:44 -05:00
typeapp_perf Improve intersection and union type annotation 2017-01-05 14:43:05 -05:00
typecast Add spaces around certain statements, add --write option, and more 2016-12-30 23:01:07 -05:00
typeof Tweak variable declaration printing 2016-12-30 11:56:42 -05:00
unary Update snapshots 2017-01-01 20:20:45 -05:00
unchecked_haste_module_vs_lib Tweak variable declaration printing 2016-12-30 11:56:42 -05:00
unchecked_node_module_vs_lib Tweak variable declaration printing 2016-12-30 11:56:42 -05:00
undefined Break ternary ops across newlines if needed 2017-01-05 12:32:56 -05:00
unicode Add spaces around certain statements, add --write option, and more 2016-12-30 23:01:07 -05:00
union Improve intersection and union type annotation 2017-01-05 14:43:05 -05:00
union-intersection Improve intersection and union type annotation 2017-01-05 14:43:05 -05:00
union_new Improve intersection and union type annotation 2017-01-05 14:43:05 -05:00
unreachable Update snapshots 2017-01-01 20:20:45 -05:00
value Update snapshots 2017-01-01 20:20:45 -05:00
vim_emacs_errors Make all tests pass the crash test and fix a few more bugs 2016-12-27 21:40:04 -05:00
weakmode Add spaces around certain statements, add --write option, and more 2016-12-30 23:01:07 -05:00
while Update snapshots 2017-01-01 20:20:45 -05:00
window update snapshots 2016-12-27 13:29:31 -05:00
x Add spaces around certain statements, add --write option, and more 2016-12-30 23:01:07 -05:00