├── benchmark
├── .prettierrc.json
└── .prettierignore
├── crates
├── biome_css_parser
│ ├── src
│ │ └── prelude.rs
│ └── tests
│ │ └── css_test_suite
│ │ ├── ok
│ │ ├── empty.css
│ │ ├── class_selector.css
│ │ ├── at_rule
│ │ │ ├── at_rule_font_face.css
│ │ │ ├── at_rule_counter_style.css
│ │ │ └── at_rule_property.css
│ │ └── selector
│ │ │ ├── pseudo_element
│ │ │ └── escaped.css
│ │ │ ├── universal.css
│ │ │ ├── class.css
│ │ │ ├── id.css
│ │ │ └── type.css
│ │ └── error
│ │ ├── selector
│ │ ├── class_selector_err.css
│ │ ├── id_selector_err.css
│ │ ├── missing_identifier.css
│ │ ├── invalid_selector.css
│ │ └── traling_comma.css
│ │ └── block
│ │ └── css_unfinished_block.css
├── biome_css_formatter
│ └── tests
│ │ └── specs
│ │ ├── css
│ │ └── empty.css
│ │ └── prettier
│ │ └── css
│ │ ├── range
│ │ ├── issue2267.css.prettier-snap
│ │ └── issue2267.css
│ │ ├── selector-call
│ │ ├── call.css
│ │ └── call.css.prettier-snap
│ │ ├── yaml
│ │ └── ignore.css
│ │ ├── atword
│ │ └── atword.css
│ │ ├── inline-url
│ │ └── empty.css
│ │ ├── pseudo-call
│ │ └── pseudo_call.css
│ │ └── comments
│ │ └── block.css
├── biome_yaml_parser
│ └── src
│ │ └── lib.rs
├── biome_js_formatter
│ └── tests
│ │ └── specs
│ │ ├── jsx
│ │ ├── smoke.jsx
│ │ └── fragment.jsx
│ │ ├── tsx
│ │ └── smoke.tsx
│ │ ├── js
│ │ ├── module
│ │ │ ├── ident.js
│ │ │ ├── bom_character.js
│ │ │ ├── expression
│ │ │ │ ├── this_expression.js
│ │ │ │ └── computed-member-expression.js
│ │ │ ├── no-semi
│ │ │ │ └── semicolons-asi.js
│ │ │ ├── statement
│ │ │ │ ├── statement.js
│ │ │ │ └── throw.js
│ │ │ ├── with.js
│ │ │ ├── export
│ │ │ │ └── expression_clause.js
│ │ │ ├── import
│ │ │ │ └── namespace_import.js
│ │ │ └── decorators
│ │ │ │ ├── export_default_1.js
│ │ │ │ └── export_default_2.js
│ │ └── script
│ │ │ └── with.js
│ │ ├── prettier
│ │ ├── js
│ │ │ ├── regex
│ │ │ │ ├── d-flag.js
│ │ │ │ ├── v-flag.js
│ │ │ │ ├── test.js
│ │ │ │ ├── d-flag.js.prettier-snap
│ │ │ │ ├── v-flag.js.prettier-snap
│ │ │ │ ├── multiple-flags.js
│ │ │ │ ├── test.js.prettier-snap
│ │ │ │ └── multiple-flags.js.prettier-snap
│ │ │ ├── arrows
│ │ │ │ ├── semi
│ │ │ │ │ ├── semi.js
│ │ │ │ │ └── semi.js.prettier-snap
│ │ │ │ ├── block_like.js
│ │ │ │ └── block_like.js.prettier-snap
│ │ │ ├── directives
│ │ │ │ ├── last-line-0.js
│ │ │ │ ├── last-line-1.js
│ │ │ │ ├── last-line-2.js
│ │ │ │ ├── no-newline.js
│ │ │ │ ├── last-line-0.js.prettier-snap
│ │ │ │ ├── last-line-1.js.prettier-snap
│ │ │ │ ├── last-line-2.js.prettier-snap
│ │ │ │ └── no-newline.js.prettier-snap
│ │ │ ├── label
│ │ │ │ ├── empty_label.js
│ │ │ │ ├── empty_label.js.prettier-snap
│ │ │ │ └── block-statement-and-regexp.js
│ │ │ ├── non-strict
│ │ │ │ ├── octal-number.js
│ │ │ │ ├── octal-number.js.prettier-snap
│ │ │ │ └── argument-name-clash.js
│ │ │ ├── objects
│ │ │ │ ├── method.js
│ │ │ │ └── method.js.prettier-snap
│ │ │ ├── babel-plugins
│ │ │ │ ├── regex-v-flag.js
│ │ │ │ ├── regex-v-flag.js.prettier-snap
│ │ │ │ └── record-tuple-tuple.js
│ │ │ ├── classes
│ │ │ │ ├── call.js
│ │ │ │ ├── top-level-super
│ │ │ │ │ ├── example.js
│ │ │ │ │ └── example.js.prettier-snap
│ │ │ │ ├── ternary.js
│ │ │ │ ├── call.js.prettier-snap
│ │ │ │ ├── member.js
│ │ │ │ ├── new.js
│ │ │ │ ├── ternary.js.prettier-snap
│ │ │ │ └── member.js.prettier-snap
│ │ │ ├── cursor
│ │ │ │ ├── cursor-8.js
│ │ │ │ ├── cursor-emoji.js
│ │ │ │ ├── cursor-2.js
│ │ │ │ ├── cursor-10.js.prettier-snap
│ │ │ │ ├── cursor-2.js.prettier-snap
│ │ │ │ ├── cursor-3.js.prettier-snap
│ │ │ │ ├── cursor-5.js
│ │ │ │ ├── cursor-1.js
│ │ │ │ ├── cursor-6.js
│ │ │ │ ├── cursor-emoji.js.prettier-snap
│ │ │ │ ├── cursor-0.js
│ │ │ │ ├── cursor-3.js
│ │ │ │ ├── cursor-5.js.prettier-snap
│ │ │ │ ├── cursor-6.js.prettier-snap
│ │ │ │ ├── cursor-7.js
│ │ │ │ ├── cursor-8.js.prettier-snap
│ │ │ │ ├── cursor-9.js
│ │ │ │ ├── file-start-with-comment-1.js
│ │ │ │ ├── file-start-with-comment-2.js
│ │ │ │ ├── range-5.js.prettier-snap
│ │ │ │ ├── range-6.js.prettier-snap
│ │ │ │ ├── range-7.js.prettier-snap
│ │ │ │ ├── comments-3.js
│ │ │ │ ├── cursor-10.js
│ │ │ │ └── cursor-9.js.prettier-snap
│ │ │ ├── for
│ │ │ │ ├── var.js
│ │ │ │ └── var.js.prettier-snap
│ │ │ ├── range
│ │ │ │ ├── whitespace.js.prettier-snap
│ │ │ │ ├── array.js.prettier-snap
│ │ │ │ ├── directive.js.prettier-snap
│ │ │ │ └── try-catch.js.prettier-snap
│ │ │ ├── tuple
│ │ │ │ ├── tuple-trailing-comma.js
│ │ │ │ ├── tuple-trailing-comma.js.prettier-snap
│ │ │ │ └── syntax.js
│ │ │ ├── comments
│ │ │ │ ├── first-line.js
│ │ │ │ ├── html-like
│ │ │ │ │ └── comment.js
│ │ │ │ └── first-line.js.prettier-snap
│ │ │ ├── in
│ │ │ │ ├── arrow-function-invalid.js
│ │ │ │ └── arrow-function-invalid.js.prettier-snap
│ │ │ ├── newline
│ │ │ │ ├── backslash_2028.js
│ │ │ │ └── backslash_2029.js
│ │ │ ├── export
│ │ │ │ ├── undefined.js
│ │ │ │ ├── empty.js
│ │ │ │ ├── empty.js.prettier-snap
│ │ │ │ └── undefined.js.prettier-snap
│ │ │ ├── top-level-await
│ │ │ │ ├── example.js
│ │ │ │ └── example.js.prettier-snap
│ │ │ ├── unicode
│ │ │ │ ├── keys.js
│ │ │ │ └── keys.js.prettier-snap
│ │ │ ├── with
│ │ │ │ └── indent.js
│ │ │ ├── arrays
│ │ │ │ └── last.js
│ │ │ ├── async
│ │ │ │ └── exponentiation.js
│ │ │ ├── binary-expressions
│ │ │ │ └── like-regexp.js
│ │ │ ├── export-star
│ │ │ │ ├── export-star.js
│ │ │ │ ├── export-star-as.js
│ │ │ │ └── export-star.js.prettier-snap
│ │ │ ├── multiparser-markdown
│ │ │ │ └── single-line.js
│ │ │ ├── new-target
│ │ │ │ └── outside-functions.js
│ │ │ ├── array-spread
│ │ │ │ └── multiple.js
│ │ │ ├── computed-props
│ │ │ │ └── classes.js
│ │ │ ├── export-default
│ │ │ │ ├── body.js
│ │ │ │ └── iife.js
│ │ │ ├── import
│ │ │ │ └── multiple_standalones.js
│ │ │ ├── invalid-code
│ │ │ │ └── duplicate_bindings.js
│ │ │ ├── module-blocks
│ │ │ │ └── non-module-blocks.js
│ │ │ ├── optional-chaining-assignment
│ │ │ │ ├── valid-lhs-eq.js
│ │ │ │ ├── valid-lhs-plus-eq.js
│ │ │ │ └── valid-parenthesized.js
│ │ │ ├── shebang
│ │ │ │ └── shebang.js
│ │ │ ├── identifier
│ │ │ │ └── parentheses
│ │ │ │ │ └── const.js
│ │ │ ├── ignore
│ │ │ │ └── semi
│ │ │ │ │ └── asi.js
│ │ │ ├── sequence-expression
│ │ │ │ └── export-default.js
│ │ │ ├── source-phase-imports
│ │ │ │ ├── default-binding.js
│ │ │ │ └── import-source.js
│ │ │ └── try
│ │ │ │ └── try.js
│ │ ├── jsx
│ │ │ ├── escape
│ │ │ │ ├── escape.js
│ │ │ │ └── escape.js.prettier-snap
│ │ │ ├── jsx
│ │ │ │ ├── self-closing.js
│ │ │ │ └── self-closing.js.prettier-snap
│ │ │ ├── newlines
│ │ │ │ ├── windows.js
│ │ │ │ └── windows.js.prettier-snap
│ │ │ ├── cursor
│ │ │ │ └── in-jsx-text.js
│ │ │ ├── do
│ │ │ │ └── do.js
│ │ │ └── embed
│ │ │ │ └── css-embed.js
│ │ └── typescript
│ │ │ ├── class
│ │ │ ├── dunder.ts
│ │ │ └── dunder.ts.prettier-snap
│ │ │ ├── arrows
│ │ │ ├── type_params.ts
│ │ │ ├── arrow_function_expression.ts
│ │ │ └── type_params.ts.prettier-snap
│ │ │ ├── as
│ │ │ ├── array-pattern.ts
│ │ │ └── array-pattern.ts.prettier-snap
│ │ │ ├── bigint
│ │ │ ├── bigint.ts
│ │ │ └── bigint.ts.prettier-snap
│ │ │ ├── cursor
│ │ │ ├── identifier-1.ts
│ │ │ ├── identifier-2.ts
│ │ │ ├── identifier-3.ts
│ │ │ ├── array-pattern.ts
│ │ │ ├── identifier-1.ts.prettier-snap
│ │ │ ├── identifier-2.ts.prettier-snap
│ │ │ ├── identifier-3.ts.prettier-snap
│ │ │ ├── rest.ts
│ │ │ ├── array-pattern.ts.prettier-snap
│ │ │ └── class-property.ts
│ │ │ ├── definite
│ │ │ └── asi.ts
│ │ │ ├── tsx
│ │ │ ├── keyword.tsx
│ │ │ └── keyword.tsx.prettier-snap
│ │ │ ├── unknown
│ │ │ ├── unknown.ts
│ │ │ └── unknown.ts.prettier-snap
│ │ │ ├── enum
│ │ │ ├── multiline.ts
│ │ │ └── multiline.ts.prettier-snap
│ │ │ ├── module
│ │ │ └── empty.ts
│ │ │ ├── rest-type
│ │ │ └── simple.ts
│ │ │ ├── optional-call
│ │ │ └── type-parameters.ts
│ │ │ ├── optional-type
│ │ │ └── simple.ts
│ │ │ ├── rest
│ │ │ └── rest.ts
│ │ │ ├── type-arguments-bit-shift-left-like
│ │ │ └── 1.ts
│ │ │ ├── instantiation-expression
│ │ │ ├── new.ts
│ │ │ └── typeof.ts
│ │ │ └── never
│ │ │ └── type-argument.src.ts
│ │ └── ts
│ │ ├── module
│ │ └── qualified_module_name.ts
│ │ ├── statement
│ │ └── empty_block.ts
│ │ ├── type
│ │ └── qualified_name.ts
│ │ ├── binding
│ │ └── definite_variable.ts
│ │ ├── expression
│ │ └── non_null_expression.ts
│ │ └── parameters
│ │ └── parameters.ts
├── biome_json_formatter
│ └── tests
│ │ └── specs
│ │ ├── json
│ │ ├── empty.json
│ │ ├── undefined
│ │ │ └── utf8_bom_empty_object.json
│ │ └── object
│ │ │ └── one_line.json
│ │ └── prettier
│ │ └── json
│ │ ├── json
│ │ ├── null.json
│ │ ├── number.json
│ │ ├── boolean.json
│ │ ├── string.json
│ │ ├── positive-number.json
│ │ ├── single-quote.json
│ │ ├── string.json.prettier-snap
│ │ ├── null.json.prettier-snap
│ │ ├── number.json.prettier-snap
│ │ ├── boolean.json.prettier-snap
│ │ ├── positive-number.json.prettier-snap
│ │ ├── propertyKey.json
│ │ └── single-quote.json.prettier-snap
│ │ ├── range
│ │ ├── identifier-2.json.prettier-snap
│ │ ├── issue-7116.json.prettier-snap
│ │ ├── number.json.prettier-snap
│ │ ├── unary-expression-2.json.prettier-snap
│ │ ├── identifier.json.prettier-snap
│ │ └── issue2297.json.prettier-snap
│ │ └── with-comment
│ │ ├── block-comment.json
│ │ └── bottom-line-comment.json
├── biome_syntax_codegen
│ └── examples
│ │ ├── syntax
│ │ └── .gitignore
│ │ └── factory
│ │ └── .gitignore
├── biome_formatter
│ ├── .gitignore
│ └── src
│ │ └── token
│ │ └── mod.rs
├── biome_html_parser
│ └── tests
│ │ └── html_specs
│ │ ├── ok
│ │ ├── ok.html
│ │ ├── element.html
│ │ ├── ok2.html
│ │ ├── comment.html
│ │ ├── doctype
│ │ │ ├── basic.html
│ │ │ └── minimal.html
│ │ ├── no-end-tags
│ │ │ ├── br.html
│ │ │ ├── br-in-span.html
│ │ │ └── meta.html
│ │ ├── attributes
│ │ │ └── attributes.html
│ │ ├── embedded-languages
│ │ │ └── script-empty.html
│ │ └── quote-in-child.html
│ │ └── error
│ │ ├── element
│ │ ├── solo-no-tag-name.html
│ │ ├── missing-close-tag-2.html
│ │ ├── missing-close-tag.html
│ │ ├── missing-element-name.html
│ │ └── child-no-tag-name.html
│ │ └── attributes
│ │ └── missing-initializer.html
├── biome_css_analyze
│ ├── src
│ │ └── services
│ │ │ └── mod.rs
│ └── tests
│ │ └── specs
│ │ └── correctness
│ │ └── noInvalidPositionAtImportRule
│ │ └── validNoImportant.css
├── biome_grit_patterns
│ └── tests
│ │ └── specs
│ │ ├── error
│ │ ├── missingQuote.grit
│ │ └── missingQuote.ts
│ │ ├── ts
│ │ ├── identifier.grit
│ │ ├── strings.grit
│ │ ├── arrayType.grit
│ │ ├── invalidSnippet.grit
│ │ ├── log.ts
│ │ ├── typeAlias.grit
│ │ ├── capitalize.ts
│ │ ├── functionMatchesAsync.grit
│ │ ├── objectLiteral.grit
│ │ ├── rawSnippet.ts
│ │ ├── duplicateVariable.grit
│ │ ├── invalidSnippet.ts
│ │ ├── typeAlias.ts
│ │ ├── asyncFunctionDoesntMatchNonAsync.grit
│ │ ├── whereClause.ts
│ │ └── regex.ts
│ │ └── tsx
│ │ ├── jsx.grit
│ │ └── jsx.tsx
├── biome_js_parser
│ └── tests
│ │ └── js_test_suite
│ │ ├── error
│ │ ├── spread.js
│ │ ├── export_err.js
│ │ ├── new_exprs.js
│ │ ├── enum_in_js.js
│ │ ├── issue4617.js
│ │ ├── issue4622.ts
│ │ ├── assign_expr_left.js
│ │ ├── assign_expr_right.js
│ │ ├── sequence_expr.js
│ │ ├── ts_export_type.ts
│ │ ├── unicode_escape_unterminated.js
│ │ ├── array_expr_incomplete.js
│ │ ├── block_stmt_in_class.js
│ │ ├── identifier.js
│ │ ├── unary_expr.js
│ │ ├── empty_parenthesized_expression.js
│ │ ├── enum_no_l_curly.ts
│ │ ├── enum_no_r_curly.ts
│ │ ├── js_regex_assignment.js
│ │ ├── object_expr_method.js
│ │ ├── optional_member.js
│ │ ├── ts_new_operator.ts
│ │ ├── ts_variable_annotation_err.ts
│ │ ├── type_arguments_incomplete.ts
│ │ ├── typescript_enum_incomplete.ts
│ │ ├── yield_at_top_level_module.js
│ │ ├── abstract_class_in_js.js
│ │ ├── arrow_escaped_async.js
│ │ ├── class_implements.js
│ │ ├── export_as_identifier_err.js
│ │ ├── formal_params_invalid.js
│ │ ├── function_broken.js
│ │ ├── import_no_meta.js
│ │ ├── js_rewind_at_eof_token.js
│ │ ├── return_stmt_err.js
│ │ ├── semicolons_err.js
│ │ ├── subscripts_err.js
│ │ ├── ts_declare_interface_err.ts
│ │ ├── ts_tuple_type_incomplete.ts
│ │ ├── ts_type_parameters_incomplete.ts
│ │ ├── bracket_expr_err.js
│ │ ├── class_declare_member.js
│ │ ├── class_member_modifier.js
│ │ ├── enum_decl_no_id.ts
│ │ ├── import_type_error2.ts
│ │ ├── js_invalid_assignment.js
│ │ ├── jsx_spread_no_expression.jsx
│ │ ├── method_getter_err.js
│ │ ├── object_expr_non_ident_literal_prop.js
│ │ ├── primary_expr_invalid_recovery.js
│ │ ├── unicode_escape_with_unicode_char.js
│ │ ├── variable_declarator_list_empty.js
│ │ ├── class_decl_no_id.ts
│ │ ├── class_declare_method.js
│ │ ├── class_member_method_parameters.js
│ │ ├── class_property_initializer.js
│ │ ├── js_right_shift_comments.js
│ │ ├── private_name_with_space.js
│ │ ├── template_literal_unterminated.js
│ │ ├── ts_formal_parameter_decorator.ts
│ │ ├── unterminated_unicode_codepoint.js
│ │ ├── var_decl_err.js
│ │ ├── variable_declarator_list_incomplete.js
│ │ ├── yield_at_top_level_script.cjs
│ │ ├── await_in_module.js
│ │ ├── await_in_non_async_function.js
│ │ ├── class_in_single_statement_context.js
│ │ ├── escaped_from.js
│ │ ├── export_default_expression_clause_err.js
│ │ ├── formal_params_no_binding_element.js
│ │ ├── function_escaped_async.js
│ │ ├── import_as_identifier_err.js
│ │ ├── import_keyword_in_expression_position.js
│ │ ├── js_type_variable_annotation.js
│ │ ├── jsx_invalid_text.jsx
│ │ ├── object_shorthand_with_initializer.js
│ │ ├── template_literal.js
│ │ ├── throw_stmt_err.js
│ │ ├── ts_class_type_parameters_errors.ts
│ │ ├── ts_declare_async_function.ts
│ │ ├── ts_export_default_enum.ts
│ │ ├── ts_function_type_err.ts
│ │ ├── ts_satisfies_expression.js
│ │ ├── typescript_abstract_classes_incomplete.ts
│ │ ├── for_of_async_identifier.js
│ │ ├── getter_class_no_body.js
│ │ ├── import_decl_not_top_level.js
│ │ ├── jsx_child_expression_missing_r_curly.jsx
│ │ ├── jsx_in_js.mjs
│ │ ├── let_array_with_new_line.cjs
│ │ ├── setter_class_member.js
│ │ ├── setter_class_no_body.js
│ │ ├── ts_ambient_async_method.ts
│ │ ├── ts_arrow_function_this_parameter.ts
│ │ ├── ts_constructor_this_parameter.ts
│ │ ├── ts_declare_property_private_name.ts
│ │ └── ts_definite_variable_with_initializer.ts
│ │ └── ok
│ │ ├── empty_stmt.js
│ │ ├── debugger_stmt.js
│ │ ├── import_meta.js
│ │ ├── async_ident.js
│ │ ├── bom_character.js
│ │ ├── object_expr_ident_prop.js
│ │ ├── postfix_expr.js
│ │ ├── sequence_expr.js
│ │ ├── this_expr.js
│ │ ├── grouping_expr.js
│ │ ├── jsx_element_as_statements.jsx
│ │ ├── post_update_expr.js
│ │ ├── pre_update_expr.js
│ │ ├── identifier.js
│ │ ├── import_decl.js
│ │ ├── object_expr_spread_prop.js
│ │ ├── ts_parenthesized_type.ts
│ │ ├── ts_type_assertion.ts
│ │ ├── array_element_in_expr.js
│ │ ├── arrow_expr_in_alternate.js
│ │ ├── block_stmt.js
│ │ ├── class_decorator.js
│ │ ├── computed_member_in.js
│ │ ├── import_default_clause.js
│ │ ├── js_parenthesized_expression.js
│ │ ├── object_expr.js
│ │ ├── ts_ambient_var_statement.ts
│ │ ├── ts_arrow_exrp_in_alternate.ts
│ │ ├── type_arguments_like_expression.js
│ │ ├── while_stmt.js
│ │ ├── await_in_ambient_context.ts
│ │ ├── export_default_expression_clause.js
│ │ ├── import_as_identifier.js
│ │ ├── import_default_clauses.js
│ │ ├── jsx_element_attribute_element.jsx
│ │ ├── object_expr_generator_method.js
│ │ ├── object_expr_ident_literal_prop.js
│ │ ├── object_prop_in_rhs.js
│ │ ├── subscripts.js
│ │ ├── throw_stmt.js
│ │ ├── ts_optional_chain_call.ts
│ │ ├── ts_type_arguments_like_expression.ts
│ │ ├── async_continue_stmt.js
│ │ ├── class_named_abstract_is_valid_in_js.js
│ │ ├── computed_member_name_in.js
│ │ ├── export_default_class_clause.js
│ │ ├── jsx_element_attribute_string_literal.jsx
│ │ ├── jsx_equal_content.jsx
│ │ ├── jsx_primary_expression.jsx
│ │ ├── jsx_spread_attribute.jsx
│ │ ├── labeled_statement.js
│ │ ├── logical_expressions.js
│ │ ├── ts_class_type_parameters.ts
│ │ ├── ts_decorator_assignment.ts
│ │ ├── ts_export_interface_declaration.ts
│ │ ├── ts_export_type_named_from.ts
│ │ ├── ts_optional_method_class_member.ts
│ │ ├── class_empty_element.js
│ │ ├── export_as_identifier.js
│ │ ├── import_as_as_as_identifier.js
│ │ ├── import_bare_clause.js
│ │ ├── ts_ambient_let_variable_statement.ts
│ │ ├── ts_class_named_abstract_is_valid_in_ts.ts
│ │ ├── ts_export_default_interface.ts
│ │ ├── ts_export_type_named.ts
│ │ ├── ts_typeof_type2.tsx
│ │ ├── type_assertion_primary_expression.ts
│ │ ├── unicode_escape_in_tagged_template.js
│ │ ├── conditional_expr.js
│ │ ├── function_expr.js
│ │ ├── hoisted_declaration_in_single_statement_context.js
│ │ ├── identifier_loose_mode.cjs
│ │ ├── identifier_reference.cjs
│ │ ├── issue_2790.ts
│ │ ├── jsx_arrow_exrp_in_alternate.jsx
│ │ ├── pattern_with_default_in_keyword.js
│ │ ├── switch_stmt.js
│ │ ├── ts_ambient_interface.ts
│ │ └── ts_array_type.ts
├── biome_json_parser
│ └── tests
│ │ └── json_test_suite
│ │ ├── ok
│ │ ├── array_empty.json
│ │ ├── array_false.json
│ │ ├── array_null.json
│ │ ├── number.json
│ │ ├── number_0e+1.json
│ │ ├── number_0e1.json
│ │ ├── object_empty.json
│ │ ├── string_pi.json
│ │ ├── string_space.json
│ │ ├── string_utf8.json
│ │ ├── array_empty-string.json
│ │ ├── number_after_space.json
│ │ ├── number_minus_zero.json
│ │ ├── number_negative_one.json
│ │ ├── number_simple_int.json
│ │ ├── object_empty_key.json
│ │ ├── object_simple.json
│ │ ├── string_in_array.json
│ │ ├── string_unicode_2.json
│ │ ├── structure_lonely_int.json
│ │ ├── array_with_leading_space.json
│ │ ├── number_int_with_exp.json
│ │ ├── number_negative_int.json
│ │ ├── number_negative_zero.json
│ │ ├── number_real_capital_e.json
│ │ ├── number_real_exponent.json
│ │ ├── number_real_neg_exp.json
│ │ ├── object_basic.json
│ │ ├── string_null_escape.json
│ │ ├── string_simple_ascii.json
│ │ ├── string_u+2028_line_sep.json
│ │ ├── string_u+2029_par_sep.json
│ │ ├── string_unicode.json
│ │ ├── structure_lonely_false.json
│ │ ├── structure_lonely_null.json
│ │ ├── structure_lonely_string.json
│ │ ├── structure_lonely_true.json
│ │ ├── structure_string_empty.json
│ │ ├── array_arraysWithSpaces.json
│ │ ├── array_ending_with_newline.json
│ │ ├── array_with_1_and_newline.json
│ │ ├── array_with_trailing_space.json
│ │ ├── number_real_pos_exponent.json
│ │ ├── number_simple_real.json
│ │ ├── object.json
│ │ ├── string_comments.json
│ │ ├── string_double_escape_a.json
│ │ ├── string_double_escape_n.json
│ │ ├── string_one-byte-utf-8.json
│ │ ├── string_three-byte-utf-8.json
│ │ ├── string_two-byte-utf-8.json
│ │ ├── string_unescaped_char_delete.json
│ │ ├── string_with_del_character.json
│ │ ├── structure_true_in_array.json
│ │ ├── structure_whitespace_array.json
│ │ ├── array_heterogeneous.json
│ │ ├── number_real_capital_e_neg_exp.json
│ │ ├── number_real_capital_e_pos_exp.json
│ │ ├── object_duplicated_key.json
│ │ ├── string_backslash_doublequotes.json
│ │ ├── string_escaped_noncharacter.json
│ │ ├── string_nbsp_uescaped.json
│ │ ├── string_nonCharacterInUTF-8_U+FFFF.json
│ │ ├── structure_lonely_negative_real.json
│ │ ├── structure_trailing_newline.json
│ │ ├── array_with_several_null.json
│ │ ├── number_real_fraction_exponent.json
│ │ ├── object_with_newlines.json
│ │ ├── string_allowed_escapes.json
│ │ ├── string_escaped_control_character.json
│ │ ├── string_in_array_with_leading_space.json
│ │ ├── string_nonCharacterInUTF-8_U+10FFFF.json
│ │ ├── string_uEscape.json
│ │ ├── string_uescaped_newline.json
│ │ ├── string_unicodeEscapedBackslash.json
│ │ ├── string_unicode_U+FDD0_nonchar.json
│ │ ├── string_unicode_U+FFFE_nonchar.json
│ │ ├── object_duplicated_key_and_value.json
│ │ ├── object_escaped_null_in_key.json
│ │ ├── string_accepted_surrogate_pair.json
│ │ ├── string_backslash_and_u_escaped_zero.json
│ │ ├── string_last_surrogates_1_and_2.json
│ │ ├── string_reservedCharacterInUTF-8_U+1BFFF.json
│ │ ├── string_unicode_U+10FFFE_nonchar.json
│ │ ├── string_unicode_U+1FFFE_nonchar.json
│ │ ├── string_unicode_U+200B_ZERO_WIDTH_SPACE.json
│ │ ├── string_unicode_U+2064_invisible_plus.json
│ │ ├── string_unicode_escaped_double_quote.json
│ │ ├── object_extreme_numbers.json
│ │ └── string_1_2_3_bytes_UTF-8_sequences.json
│ │ ├── err
│ │ ├── array_unclosed.json
│ │ ├── issue2606.json
│ │ ├── number_++.json
│ │ ├── number_-01.json
│ │ ├── number_-2..json
│ │ ├── number_.-1.json
│ │ ├── number_0.3e.json
│ │ ├── number_0.e1.json
│ │ ├── number_0e.json
│ │ ├── number_1.0e.json
│ │ ├── number_1eE2.json
│ │ ├── number_2.e3.json
│ │ ├── number_9.e+.json
│ │ ├── number_Inf.json
│ │ ├── number_NaN.json
│ │ ├── number_plus_1.json
│ │ ├── single_space.json
│ │ ├── structure_no_data.json
│ │ ├── array_extra_comma.json
│ │ ├── array_incomplete.json
│ │ ├── array_just_comma.json
│ │ ├── array_just_minus.json
│ │ ├── array_star_inside.json
│ │ ├── incomplete_false.json
│ │ ├── incomplete_null.json
│ │ ├── incomplete_true.json
│ │ ├── number_-1.0..json
│ │ ├── number_.2e-3.json
│ │ ├── number_0.1.2.json
│ │ ├── number_0_capital_E.json
│ │ ├── number_1_000.json
│ │ ├── number_2.e-3.json
│ │ ├── number_expression.json
│ │ ├── number_neg_NaN.json
│ │ ├── number_plus_Inf.json
│ │ ├── object_emoji.json
│ │ ├── object_no-colon.json
│ │ ├── structure_end_array.json
│ │ ├── structure_open_object.json
│ │ ├── structure_single_star.json
│ │ ├── array_comma_and_number.json
│ │ ├── array_double_comma.json
│ │ ├── array_extra_close.json
│ │ ├── array_number_and_comma.json
│ │ ├── number_0.3e_plus.json
│ │ ├── number_1.0e_minus.json
│ │ ├── number_1.0e_plus.json
│ │ ├── number_2.e_plus_3.json
│ │ ├── number_hex_1_digit.json
│ │ ├── number_hex_2_digits.json
│ │ ├── number_infinity.json
│ │ ├── number_invalid+-.json
│ │ ├── number_minus_space_1.json
│ │ ├── number_with_alpha.json
│ │ ├── object_missing_colon.json
│ │ ├── object_missing_key.json
│ │ ├── object_missing_value.json
│ │ ├── object_non_string_key.json
│ │ ├── object_single_quote.json
│ │ ├── object_unquoted_key.json
│ │ ├── string_backslash_00.json
│ │ ├── string_escape_x.json
│ │ ├── string_escaped_emoji.json
│ │ ├── string_single_doublequote.json
│ │ ├── string_unescaped_tab.json
│ │ ├── structure_UTF8_BOM_no_data.json
│ │ ├── structure_double_array.json
│ │ ├── structure_unclosed_array.json
│ │ ├── array_comma_after_close.json
│ │ ├── array_double_extra_comma.json
│ │ ├── array_incomplete_invalid_value.json
│ │ ├── array_inner_array_no_comma.json
│ │ ├── array_missing_value.json
│ │ ├── multidigit_number_then_00.json
│ │ ├── number_0_capital_E_plus.json
│ │ ├── number_0e+_missing_digit.json
│ │ ├── number_minus_infinity.json
│ │ ├── number_real_garbage_after_e.json
│ │ ├── number_starting_with_dot.json
│ │ ├── number_with_leading_zero.json
│ │ ├── object_bad_value.json
│ │ ├── object_bracket_key.json
│ │ ├── object_double_colon.json
│ │ ├── object_trailing_comma.json
│ │ ├── object_unterminated-value.json
│ │ ├── string_incomplete_escape.json
│ │ ├── string_start_escape_unclosed.json
│ │ ├── string_unicode_CapitalU.json
│ │ ├── string_with_trailing_garbage.json
│ │ ├── structure_U+2060_word_joined.json
│ │ ├── structure_angle_bracket_..json
│ │ ├── structure_capitalized_True.json
│ │ ├── structure_close_unopened_array.json
│ │ ├── structure_lone-open-bracket.json
│ │ ├── structure_open_array_comma.json
│ │ ├── structure_open_array_string.json
│ │ ├── structure_open_object_comma.json
│ │ ├── structure_unicode-identifier.json
│ │ ├── structure_whitespace_formfeed.json
│ │ ├── array_1_true_without_comma.json
│ │ ├── array_colon_instead_of_comma.json
│ │ ├── array_number_and_several_commas.json
│ │ ├── array_unclosed_trailing_commas.json
│ │ ├── array_unclosed_with_object_inside.json
│ │ ├── number_U+FF11_fullwidth_digit_one.json
│ │ ├── number_neg_with_garbage_at_end.json
│ │ ├── object_garbage_at_end.json
│ │ ├── object_missing_semicolon.json
│ │ ├── object_trailing_comment.json
│ │ ├── string_accentuated_char_no_quotes.json
│ │ ├── string_escaped_backslash_bad.json
│ │ ├── string_escaped_ctrl_char_tab.json
│ │ ├── string_invalid_backslash_esc.json
│ │ ├── string_no_quotes_with_bad_escape.json
│ │ ├── string_single_quote.json
│ │ ├── string_unescaped_ctrl_char.json
│ │ ├── structure_angle_bracket_null.json
│ │ ├── structure_array_trailing_garbage.json
│ │ ├── structure_ascii-unicode-identifier.json
│ │ ├── structure_null-byte-outside-string.json
│ │ ├── structure_open_array_apostrophe.json
│ │ ├── structure_open_array_open_string.json
│ │ ├── structure_open_object_close_array.json
│ │ ├── structure_open_object_open_array.json
│ │ ├── structure_open_object_open_string.json
│ │ ├── structure_open_open.json
│ │ ├── structure_trailing_hash.json
│ │ ├── structure_unclosed_object.json
│ │ ├── array_items_separated_by_semicolon.json
│ │ ├── array_newlines_unclosed.json
│ │ ├── array_spaces_vertical_tab_formfeed.json
│ │ ├── number_invalid-negative-real.json
│ │ ├── number_neg_int_starting_with_zero.json
│ │ ├── number_neg_real_without_int_part.json
│ │ ├── number_real_without_fractional_part.json
│ │ ├── object_comma_instead_of_colon.json
│ │ ├── object_trailing_comment_open.json
│ │ ├── object_with_trailing_garbage.json
│ │ ├── string_1_surrogate_then_escape.json
│ │ ├── string_incomplete_surrogate.json
│ │ ├── string_invalid_unicode_escape.json
│ │ ├── string_single_string_no_double_quotes.json
│ │ ├── string_unescaped_newline.json
│ │ ├── structure_array_with_extra_array_close.json
│ │ ├── structure_array_with_unclosed_string.json
│ │ ├── structure_number_with_trailing_garbage.json
│ │ ├── structure_object_unclosed_no_value.json
│ │ ├── structure_whitespace_U+2060_word_joiner.json
│ │ ├── array_unclosed_with_new_lines.json
│ │ ├── number_minus_sign_with_trailing_garbage.json
│ │ ├── number_with_alpha_char.json
│ │ ├── object_key_with_single_quotes.json
│ │ ├── object_repeated_null_null.json
│ │ ├── object_several_trailing_commas.json
│ │ ├── object_trailing_comment_slash_open.json
│ │ ├── object_two_commas_in_a_row.json
│ │ ├── object_with_single_string.json
│ │ ├── string_1_surrogate_then_escape_u.json
│ │ ├── string_1_surrogate_then_escape_u1.json
│ │ ├── string_incomplete_escaped_character.json
│ │ ├── string_leading_uescaped_thinspace.json
│ │ ├── structure_object_followed_by_closing_object.json
│ │ ├── structure_uescaped_LF_before_string.json
│ │ ├── string_1_surrogate_then_escape_u1x.json
│ │ ├── structure_comma_instead_of_closing_brace.json
│ │ ├── structure_object_with_comment.json
│ │ ├── structure_open_object_string_with_apostrophes.json
│ │ ├── structure_unclosed_array_partial_null.json
│ │ ├── structure_unclosed_array_unfinished_true.json
│ │ ├── object_trailing_comment_slash_open_incomplete.json
│ │ ├── structure_object_with_trailing_garbage.json
│ │ └── structure_unclosed_array_unfinished_false.json
│ │ ├── allow_trailing_commas
│ │ └── err
│ │ │ ├── null.json
│ │ │ ├── object.json
│ │ │ └── true.json
│ │ ├── undefined
│ │ ├── number_neg_int_huge_exp.json
│ │ ├── number_real_underflow.json
│ │ ├── structure_UTF-8_BOM_empty_object.json
│ │ ├── number_double_huge_neg_exp.json
│ │ ├── number_pos_double_huge_exp.json
│ │ ├── number_real_neg_overflow.json
│ │ ├── number_real_pos_overflow.json
│ │ ├── object_key_lone_2nd_surrogate.json
│ │ ├── string_invalid_lonely_surrogate.json
│ │ ├── string_invalid_surrogate.json
│ │ ├── string_lone_second_surrogate.json
│ │ ├── number_too_big_pos_int.json
│ │ ├── string_1st_surrogate_but_2nd_missing.json
│ │ ├── string_incomplete_surrogate_pair.json
│ │ └── string_inverted_surrogates_U+1D11E.json
│ │ └── allow_comments
│ │ └── ok
│ │ └── basic.json
├── biome_lsp
│ └── src
│ │ └── requests
│ │ └── mod.rs
├── biome_graphql_formatter
│ ├── src
│ │ └── utils
│ │ │ └── mod.rs
│ └── tests
│ │ └── specs
│ │ └── prettier
│ │ └── graphql
│ │ └── scalar
│ │ └── scalar.graphql
├── biome_html_formatter
│ ├── tests
│ │ └── specs
│ │ │ ├── prettier
│ │ │ └── html
│ │ │ │ ├── basics
│ │ │ │ ├── empty.html
│ │ │ │ ├── empty.html.prettier-snap
│ │ │ │ ├── comment.html
│ │ │ │ └── comment.html.prettier-snap
│ │ │ │ ├── css
│ │ │ │ ├── empty.html
│ │ │ │ └── empty.html.prettier-snap
│ │ │ │ ├── js
│ │ │ │ ├── empty.html
│ │ │ │ └── empty.html.prettier-snap
│ │ │ │ ├── tags
│ │ │ │ ├── unsupported.html
│ │ │ │ └── unsupported.html.prettier-snap
│ │ │ │ ├── comments
│ │ │ │ ├── bogus.html
│ │ │ │ └── before-text.html
│ │ │ │ └── attributes
│ │ │ │ ├── duplicate.html
│ │ │ │ ├── case-sensitive.html
│ │ │ │ └── without-quotes.html
│ │ │ └── html
│ │ │ ├── directive
│ │ │ ├── lowercase.html
│ │ │ ├── uppercase.html
│ │ │ └── uppercase2.html
│ │ │ ├── elements
│ │ │ ├── spacing
│ │ │ │ └── case4.html
│ │ │ └── empty-extra-lines.html
│ │ │ ├── self-closing.html
│ │ │ └── attributes
│ │ │ ├── self-closing.html
│ │ │ ├── multiline
│ │ │ └── no-break.html
│ │ │ └── no-break.html
│ └── src
│ │ └── utils
│ │ └── mod.rs
├── biome_js_analyze
│ └── tests
│ │ ├── specs
│ │ ├── nursery
│ │ │ ├── useExportsLast
│ │ │ │ ├── valid_empty_file.js
│ │ │ │ ├── valid_no_exports.js
│ │ │ │ ├── valid_named_export.js
│ │ │ │ ├── valid_re-export.js
│ │ │ │ └── invalid.js
│ │ │ ├── noBitwiseOperators
│ │ │ │ └── validBitwiseAnd.js
│ │ │ ├── noEnum
│ │ │ │ └── invalid.ts
│ │ │ ├── useStrictMode
│ │ │ │ ├── invalid-with-directive.cjs
│ │ │ │ ├── valid-with-comments.cjs
│ │ │ │ ├── valid-with-shebang.cjs
│ │ │ │ ├── valid-with-directive.cjs
│ │ │ │ └── invalid.package.json
│ │ │ ├── noDocumentImportInPage
│ │ │ │ ├── valid.jsx
│ │ │ │ └── app
│ │ │ │ │ └── valid.jsx
│ │ │ ├── noHeadImportInDocument
│ │ │ │ ├── app
│ │ │ │ │ └── _document.jsx
│ │ │ │ └── pages
│ │ │ │ │ ├── index.jsx
│ │ │ │ │ └── _document.jsx
│ │ │ └── useSortedClasses
│ │ │ │ └── issue_4041.jsx
│ │ ├── style
│ │ │ ├── useFilenamingConvention
│ │ │ │ ├── (slug1).js
│ │ │ │ ├── +in+valid.js
│ │ │ │ ├── +val_id.js
│ │ │ │ ├── .valid.js
│ │ │ │ ├── INVALID.js
│ │ │ │ ├── [slug4].js
│ │ │ │ ├── [slug_4].js
│ │ │ │ ├── _404.tsx
│ │ │ │ ├── valid.js
│ │ │ │ ├── 안녕하세요.js
│ │ │ │ ├── [...slug2].js
│ │ │ │ ├── [[...slug3]].js
│ │ │ │ ├── validCamelCase.js
│ │ │ │ ├── 0_start_with_digit.ts
│ │ │ │ ├── ValidPascalCase.js
│ │ │ │ ├── _UNDERSCOREINVALID.js
│ │ │ │ ├── _underscorevalid.js
│ │ │ │ ├── filename.INVALID.js
│ │ │ │ ├── invalid-kebab-case.js
│ │ │ │ ├── invalidCamelCase.js
│ │ │ │ ├── invalidSTrictCase.js
│ │ │ │ ├── invalid_snake_case.js
│ │ │ │ ├── malformedOptions.js
│ │ │ │ ├── valid-kebab-case.js
│ │ │ │ ├── validSTrictCase.js
│ │ │ │ ├── valid_snake_case.js
│ │ │ │ ├── filename.validCamelExt.js
│ │ │ │ ├── filename.valid_snake_ext.js
│ │ │ │ ├── invalid-non-ascii-café.js
│ │ │ │ ├── valid-non-ascii-café.js
│ │ │ │ ├── filename.INVALID-extension.js
│ │ │ │ ├── invalidMatchExtension.INVALID.js
│ │ │ │ ├── %validMatch.ts
│ │ │ │ ├── filename.valid-kebab-extension.js
│ │ │ │ ├── malformedOptionsEmptyFilenameCases.js
│ │ │ │ ├── InvalidPascalCase.js
│ │ │ │ └── ValidMyClass.js
│ │ │ ├── useConst
│ │ │ │ ├── invalidFixUnsafe.js
│ │ │ │ └── validPartial.js
│ │ │ ├── useNamingConvention
│ │ │ │ ├── malformedOptions.js
│ │ │ │ ├── validNonAscii.js
│ │ │ │ ├── invalidNonAscii.js
│ │ │ │ ├── invalidGlobal.d.ts
│ │ │ │ ├── validCustomStyle.ts
│ │ │ │ ├── validCustomStyleDollarSuffix.js
│ │ │ │ ├── validClassNonStrictPascalCase.js
│ │ │ │ ├── validCustomStyleAbstractClass.ts
│ │ │ │ └── validCustomStyleExceptions.ts
│ │ │ ├── noNamespaceImport
│ │ │ │ └── invalid.js
│ │ │ ├── noRestrictedGlobals
│ │ │ │ └── additionalGlobal.js
│ │ │ ├── noUnusedTemplateLiteral
│ │ │ │ └── invalidFixSafe.js
│ │ │ ├── useNodeAssertStrict
│ │ │ │ └── valid.ts
│ │ │ ├── useNodejsImportProtocol
│ │ │ │ ├── valid.ts
│ │ │ │ └── validDep.js
│ │ │ └── useDefaultParameterLast
│ │ │ │ └── valid.js
│ │ ├── correctness
│ │ │ ├── noUnusedVariables
│ │ │ │ ├── validIssue861.js
│ │ │ │ ├── invalidFixNone.js
│ │ │ │ ├── invalidType.ts
│ │ │ │ └── issue4114.js
│ │ │ ├── useExhaustiveDependencies
│ │ │ │ ├── invalidIndices.js
│ │ │ │ └── emptyHookNameInOptions.js
│ │ │ ├── noUndeclaredVariables
│ │ │ │ ├── valid.js
│ │ │ │ └── invalidTsInJs.js
│ │ │ ├── noInitializerWithDefinite
│ │ │ │ ├── invalid.ts
│ │ │ │ └── valid.ts
│ │ │ ├── noUnsafeOptionalChaining
│ │ │ │ └── invalid.cjs
│ │ │ └── noNodejsModules
│ │ │ │ └── valid-with-dep.js
│ │ ├── complexity
│ │ │ ├── noUselessFragments
│ │ │ │ ├── withJsxTextInvalid.jsx
│ │ │ │ ├── assigments.jsx
│ │ │ │ ├── issue_2460.jsx
│ │ │ │ ├── issue_459.jsx
│ │ │ │ └── withJsxElementInvalid.jsx
│ │ │ ├── noUselessEmptyExport
│ │ │ │ └── valid_export.js
│ │ │ └── noEmptyTypeParameters
│ │ │ │ ├── invalid.ts
│ │ │ │ └── valid.ts
│ │ ├── performance
│ │ │ ├── noReExportAll
│ │ │ │ └── valid.js
│ │ │ └── noBarrelFile
│ │ │ │ ├── invalid.ts
│ │ │ │ └── invalid_wild_reexport.ts
│ │ └── suspicious
│ │ │ ├── noEmptyInterface
│ │ │ └── invalid.ts
│ │ │ ├── noSparseArray
│ │ │ └── valid.js
│ │ │ ├── noImportAssign
│ │ │ └── valid.js
│ │ │ ├── noLabelVar
│ │ │ └── valid.js
│ │ │ ├── noVar
│ │ │ └── invalidModule.js
│ │ │ ├── noMisleadingCharacterClass
│ │ │ └── valid-malformed-ast.js
│ │ │ ├── noConfusingLabels
│ │ │ └── allowedLabel.js
│ │ │ └── noExplicitAny
│ │ │ └── validTypeConstraints.ts
│ │ └── suppression
│ │ └── correctness
│ │ └── noUnusedVariables
│ │ └── simple.js
├── biome_js_transform
│ └── src
│ │ └── transformers
│ │ └── mod.rs
├── biome_json_analyze
│ └── tests
│ │ └── specs
│ │ └── source
│ │ └── useSortedKeys
│ │ └── valid.json
├── biome_dependency_graph
│ └── fixtures
│ │ ├── frontend
│ │ ├── node_modules
│ │ │ └── shared
│ │ └── src
│ │ │ └── bar.ts
│ │ └── shared
│ │ └── dist
│ │ └── index.js
├── biome_grit_parser
│ └── tests
│ │ └── grit_test_suite
│ │ ├── ok
│ │ ├── language.grit
│ │ ├── regex.grit
│ │ ├── rewrite.grit
│ │ ├── marzano_pattern.grit
│ │ ├── pattern_with_version.grit
│ │ ├── backtick_snippet.grit
│ │ └── language_with_flavor.grit
│ │ └── err
│ │ ├── missing_version.grit
│ │ ├── incorrect_version.grit
│ │ ├── incorrect_engine.grit
│ │ ├── invalid_language.grit
│ │ ├── incorrect_string_prefix.grit
│ │ ├── invalid_node_argument.grit
│ │ └── language_with_invalid_flavor.grit
├── biome_configuration
│ └── tests
│ │ ├── invalid
│ │ ├── schema.json
│ │ ├── files_incorrect_type.json
│ │ ├── overrides
│ │ │ └── incorrect_type.json
│ │ ├── wrong_extends_type.json
│ │ └── formatter_incorrect_type.json
│ │ └── valid
│ │ └── extends_jsonc_m.json
├── biome_grit_formatter
│ └── tests
│ │ └── specs
│ │ └── grit
│ │ ├── patterns
│ │ ├── regex.grit
│ │ └── where_pattern.grit
│ │ └── file_node.grit
├── biome_json_value
│ └── src
│ │ └── lib.rs
├── biome_markdown_factory
│ └── src
│ │ └── make.rs
├── biome_package
│ └── tests
│ │ └── manifest
│ │ └── invalid
│ │ ├── name.json
│ │ ├── license_invalid.json
│ │ └── license_not_string.json
├── biome_yaml_factory
│ └── src
│ │ └── make.rs
├── biome_graphql_parser
│ └── tests
│ │ └── graphql_test_suite
│ │ └── err
│ │ └── definitions
│ │ ├── scalar.graphql
│ │ └── scalar_extension.graphql
├── biome_migrate
│ └── tests
│ │ └── specs
│ │ └── migrations
│ │ └── styleRules
│ │ └── with_existing_linter.json
└── biome_project_layout
│ └── src
│ └── lib.rs
├── fuzz
└── corpus
│ ├── rome_parse_all
│ ├── rome_parse_d_ts
│ ├── rome_parse_json
│ ├── rome_parse_jsx
│ ├── rome_parse_module
│ ├── rome_parse_script
│ ├── rome_parse_tsx
│ └── rome_parse_typescript
├── rustfmt.toml
├── CHANGELOG.md
├── README.md
├── e2e-tests
├── relative-path
│ ├── src
│ │ └── file.js
│ └── test.sh
└── relative-path-ignore-file
│ └── file.js
├── xtask
├── libs_bench
│ └── src
│ │ └── main.rs
└── coverage
│ ├── src
│ ├── js
│ │ └── mod.rs
│ ├── jsx
│ │ └── mod.rs
│ ├── symbols
│ │ └── mod.rs
│ └── ts
│ │ └── mod.rs
│ └── .gitignore
├── .dockerignore
├── packages
└── @biomejs
│ └── biome
│ └── CHANGELOG.md
└── .github
└── CODEOWNERS
/benchmark/.prettierrc.json:
--------------------------------------------------------------------------------
1 | {}
2 |
--------------------------------------------------------------------------------
/crates/biome_css_parser/src/prelude.rs:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/fuzz/corpus/rome_parse_all:
--------------------------------------------------------------------------------
1 | rome_format_all
--------------------------------------------------------------------------------
/fuzz/corpus/rome_parse_d_ts:
--------------------------------------------------------------------------------
1 | rome_parse_all
--------------------------------------------------------------------------------
/fuzz/corpus/rome_parse_json:
--------------------------------------------------------------------------------
1 | rome_format_json
--------------------------------------------------------------------------------
/fuzz/corpus/rome_parse_jsx:
--------------------------------------------------------------------------------
1 | rome_parse_all
--------------------------------------------------------------------------------
/fuzz/corpus/rome_parse_module:
--------------------------------------------------------------------------------
1 | rome_parse_all
--------------------------------------------------------------------------------
/fuzz/corpus/rome_parse_script:
--------------------------------------------------------------------------------
1 | rome_parse_all
--------------------------------------------------------------------------------
/fuzz/corpus/rome_parse_tsx:
--------------------------------------------------------------------------------
1 | rome_parse_all
--------------------------------------------------------------------------------
/rustfmt.toml:
--------------------------------------------------------------------------------
1 | newline_style = "Unix"
2 |
--------------------------------------------------------------------------------
/CHANGELOG.md:
--------------------------------------------------------------------------------
1 | packages/@biomejs/biome/CHANGELOG.md
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | ./packages/@biomejs/biome/README.md
--------------------------------------------------------------------------------
/e2e-tests/relative-path/src/file.js:
--------------------------------------------------------------------------------
1 | debugger;
--------------------------------------------------------------------------------
/fuzz/corpus/rome_parse_typescript:
--------------------------------------------------------------------------------
1 | rome_parse_all
--------------------------------------------------------------------------------
/xtask/libs_bench/src/main.rs:
--------------------------------------------------------------------------------
1 | fn main() {}
2 |
--------------------------------------------------------------------------------
/crates/biome_css_formatter/tests/specs/css/empty.css:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/crates/biome_yaml_parser/src/lib.rs:
--------------------------------------------------------------------------------
1 | mod lexer;
2 |
--------------------------------------------------------------------------------
/e2e-tests/relative-path-ignore-file/file.js:
--------------------------------------------------------------------------------
1 | debugger;
--------------------------------------------------------------------------------
/xtask/coverage/src/js/mod.rs:
--------------------------------------------------------------------------------
1 | pub mod test262;
2 |
--------------------------------------------------------------------------------
/xtask/coverage/src/jsx/mod.rs:
--------------------------------------------------------------------------------
1 | pub mod jsx_babel;
2 |
--------------------------------------------------------------------------------
/.dockerignore:
--------------------------------------------------------------------------------
1 | benchmark/node_modules
2 | benchmark/target
--------------------------------------------------------------------------------
/crates/biome_css_parser/tests/css_test_suite/ok/empty.css:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/crates/biome_js_formatter/tests/specs/jsx/smoke.jsx:
--------------------------------------------------------------------------------
1 | "foo";
--------------------------------------------------------------------------------
/crates/biome_js_formatter/tests/specs/tsx/smoke.tsx:
--------------------------------------------------------------------------------
1 | "foo"
--------------------------------------------------------------------------------
/crates/biome_json_formatter/tests/specs/json/empty.json:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/crates/biome_syntax_codegen/examples/syntax/.gitignore:
--------------------------------------------------------------------------------
1 | *.rs
--------------------------------------------------------------------------------
/packages/@biomejs/biome/CHANGELOG.md:
--------------------------------------------------------------------------------
1 | # @biomejs/biome
2 |
--------------------------------------------------------------------------------
/crates/biome_formatter/.gitignore:
--------------------------------------------------------------------------------
1 | /target
2 | Cargo.lock
3 |
--------------------------------------------------------------------------------
/crates/biome_html_parser/tests/html_specs/ok/ok.html:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/crates/biome_js_formatter/tests/specs/js/module/ident.js:
--------------------------------------------------------------------------------
1 | x
2 |
--------------------------------------------------------------------------------
/crates/biome_syntax_codegen/examples/factory/.gitignore:
--------------------------------------------------------------------------------
1 | *.rs
--------------------------------------------------------------------------------
/crates/biome_css_analyze/src/services/mod.rs:
--------------------------------------------------------------------------------
1 | pub mod semantic;
2 |
--------------------------------------------------------------------------------
/crates/biome_grit_patterns/tests/specs/error/missingQuote.grit:
--------------------------------------------------------------------------------
1 | `
2 |
--------------------------------------------------------------------------------
/crates/biome_grit_patterns/tests/specs/ts/identifier.grit:
--------------------------------------------------------------------------------
1 | `bar`
2 |
--------------------------------------------------------------------------------
/crates/biome_grit_patterns/tests/specs/ts/strings.grit:
--------------------------------------------------------------------------------
1 | `"foo"`
2 |
--------------------------------------------------------------------------------
/crates/biome_html_parser/tests/html_specs/ok/element.html:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/crates/biome_js_parser/tests/js_test_suite/error/spread.js:
--------------------------------------------------------------------------------
1 | [...]
2 |
--------------------------------------------------------------------------------
/crates/biome_js_parser/tests/js_test_suite/ok/empty_stmt.js:
--------------------------------------------------------------------------------
1 | ;
2 |
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/ok/array_empty.json:
--------------------------------------------------------------------------------
1 | []
--------------------------------------------------------------------------------
/crates/biome_lsp/src/requests/mod.rs:
--------------------------------------------------------------------------------
1 | pub(crate) mod syntax_tree;
2 |
--------------------------------------------------------------------------------
/xtask/coverage/.gitignore:
--------------------------------------------------------------------------------
1 | babel/
2 | test262/
3 | Typescript/
4 |
--------------------------------------------------------------------------------
/xtask/coverage/src/symbols/mod.rs:
--------------------------------------------------------------------------------
1 | pub mod msts;
2 | mod utils;
3 |
--------------------------------------------------------------------------------
/crates/biome_graphql_formatter/src/utils/mod.rs:
--------------------------------------------------------------------------------
1 | pub(crate) mod list;
2 |
--------------------------------------------------------------------------------
/crates/biome_grit_patterns/tests/specs/ts/arrayType.grit:
--------------------------------------------------------------------------------
1 | `number[]`
2 |
--------------------------------------------------------------------------------
/crates/biome_grit_patterns/tests/specs/ts/invalidSnippet.grit:
--------------------------------------------------------------------------------
1 | `"`
2 |
--------------------------------------------------------------------------------
/crates/biome_html_formatter/tests/specs/prettier/html/basics/empty.html:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/crates/biome_html_parser/tests/html_specs/ok/ok2.html:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/crates/biome_js_parser/tests/js_test_suite/error/export_err.js:
--------------------------------------------------------------------------------
1 | export
2 |
--------------------------------------------------------------------------------
/crates/biome_js_parser/tests/js_test_suite/error/new_exprs.js:
--------------------------------------------------------------------------------
1 | new;
2 |
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/err/array_unclosed.json:
--------------------------------------------------------------------------------
1 | [""
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/err/issue2606.json:
--------------------------------------------------------------------------------
1 | '
2 | '
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/err/number_++.json:
--------------------------------------------------------------------------------
1 | [++1234]
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/err/number_-01.json:
--------------------------------------------------------------------------------
1 | [-01]
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/err/number_-2..json:
--------------------------------------------------------------------------------
1 | [-2.]
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/err/number_.-1.json:
--------------------------------------------------------------------------------
1 | [.-1]
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/err/number_0.3e.json:
--------------------------------------------------------------------------------
1 | [0.3e]
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/err/number_0.e1.json:
--------------------------------------------------------------------------------
1 | [0.e1]
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/err/number_0e.json:
--------------------------------------------------------------------------------
1 | [0e]
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/err/number_1.0e.json:
--------------------------------------------------------------------------------
1 | [1.0e]
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/err/number_1eE2.json:
--------------------------------------------------------------------------------
1 | [1eE2]
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/err/number_2.e3.json:
--------------------------------------------------------------------------------
1 | [2.e3]
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/err/number_9.e+.json:
--------------------------------------------------------------------------------
1 | [9.e+]
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/err/number_Inf.json:
--------------------------------------------------------------------------------
1 | [Inf]
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/err/number_NaN.json:
--------------------------------------------------------------------------------
1 | [NaN]
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/err/number_plus_1.json:
--------------------------------------------------------------------------------
1 | [+1]
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/err/single_space.json:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/err/structure_no_data.json:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/ok/array_false.json:
--------------------------------------------------------------------------------
1 | [false]
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/ok/array_null.json:
--------------------------------------------------------------------------------
1 | [null]
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/ok/number.json:
--------------------------------------------------------------------------------
1 | [123e65]
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/ok/number_0e+1.json:
--------------------------------------------------------------------------------
1 | [0e+1]
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/ok/number_0e1.json:
--------------------------------------------------------------------------------
1 | [0e1]
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/ok/object_empty.json:
--------------------------------------------------------------------------------
1 | {}
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/ok/string_pi.json:
--------------------------------------------------------------------------------
1 | ["π"]
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/ok/string_space.json:
--------------------------------------------------------------------------------
1 | " "
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/ok/string_utf8.json:
--------------------------------------------------------------------------------
1 | ["€𝄞"]
--------------------------------------------------------------------------------
/benchmark/.prettierignore:
--------------------------------------------------------------------------------
1 | **/*.json
2 | **/*.css
3 | **/*.md
4 | **/*.html
5 |
--------------------------------------------------------------------------------
/crates/biome_grit_patterns/tests/specs/ts/log.ts:
--------------------------------------------------------------------------------
1 | console.log("grape");
2 |
--------------------------------------------------------------------------------
/crates/biome_grit_patterns/tests/specs/ts/typeAlias.grit:
--------------------------------------------------------------------------------
1 | `type $T = $U`
2 |
--------------------------------------------------------------------------------
/crates/biome_js_analyze/tests/specs/nursery/useExportsLast/valid_empty_file.js:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/crates/biome_js_analyze/tests/specs/style/useFilenamingConvention/(slug1).js:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/crates/biome_js_analyze/tests/specs/style/useFilenamingConvention/+in+valid.js:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/crates/biome_js_analyze/tests/specs/style/useFilenamingConvention/+val_id.js:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/crates/biome_js_analyze/tests/specs/style/useFilenamingConvention/.valid.js:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/crates/biome_js_analyze/tests/specs/style/useFilenamingConvention/INVALID.js:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/crates/biome_js_analyze/tests/specs/style/useFilenamingConvention/[slug4].js:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/crates/biome_js_analyze/tests/specs/style/useFilenamingConvention/[slug_4].js:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/crates/biome_js_analyze/tests/specs/style/useFilenamingConvention/_404.tsx:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/crates/biome_js_analyze/tests/specs/style/useFilenamingConvention/valid.js:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/crates/biome_js_analyze/tests/specs/style/useFilenamingConvention/안녕하세요.js:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/crates/biome_js_formatter/tests/specs/jsx/fragment.jsx:
--------------------------------------------------------------------------------
1 | <>>
2 | <> >
3 |
--------------------------------------------------------------------------------
/crates/biome_js_formatter/tests/specs/prettier/js/regex/d-flag.js:
--------------------------------------------------------------------------------
1 | /./d;
2 |
--------------------------------------------------------------------------------
/crates/biome_js_formatter/tests/specs/prettier/js/regex/v-flag.js:
--------------------------------------------------------------------------------
1 | /a/v;
2 |
--------------------------------------------------------------------------------
/crates/biome_js_parser/tests/js_test_suite/error/enum_in_js.js:
--------------------------------------------------------------------------------
1 | enum A {}
2 |
--------------------------------------------------------------------------------
/crates/biome_js_parser/tests/js_test_suite/error/issue4617.js:
--------------------------------------------------------------------------------
1 | for@s[]of
2 |
--------------------------------------------------------------------------------
/crates/biome_js_parser/tests/js_test_suite/error/issue4622.ts:
--------------------------------------------------------------------------------
1 | r={
2 | =
3 | ):
--------------------------------------------------------------------------------
/crates/biome_js_parser/tests/js_test_suite/ok/debugger_stmt.js:
--------------------------------------------------------------------------------
1 | debugger;
2 |
--------------------------------------------------------------------------------
/crates/biome_js_parser/tests/js_test_suite/ok/import_meta.js:
--------------------------------------------------------------------------------
1 | import.meta
2 |
--------------------------------------------------------------------------------
/crates/biome_js_transform/src/transformers/mod.rs:
--------------------------------------------------------------------------------
1 | pub(crate) mod ts_enum;
2 |
--------------------------------------------------------------------------------
/crates/biome_json_analyze/tests/specs/source/useSortedKeys/valid.json:
--------------------------------------------------------------------------------
1 | {}
2 |
--------------------------------------------------------------------------------
/crates/biome_json_formatter/tests/specs/prettier/json/json/null.json:
--------------------------------------------------------------------------------
1 | null
2 |
--------------------------------------------------------------------------------
/crates/biome_json_formatter/tests/specs/prettier/json/json/number.json:
--------------------------------------------------------------------------------
1 | 0
2 |
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/err/array_extra_comma.json:
--------------------------------------------------------------------------------
1 | ["",]
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/err/array_incomplete.json:
--------------------------------------------------------------------------------
1 | ["x"
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/err/array_just_comma.json:
--------------------------------------------------------------------------------
1 | [,]
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/err/array_just_minus.json:
--------------------------------------------------------------------------------
1 | [-]
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/err/array_star_inside.json:
--------------------------------------------------------------------------------
1 | [*]
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/err/incomplete_false.json:
--------------------------------------------------------------------------------
1 | [fals]
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/err/incomplete_null.json:
--------------------------------------------------------------------------------
1 | [nul]
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/err/incomplete_true.json:
--------------------------------------------------------------------------------
1 | [tru]
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/err/number_-1.0..json:
--------------------------------------------------------------------------------
1 | [-1.0.]
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/err/number_.2e-3.json:
--------------------------------------------------------------------------------
1 | [.2e-3]
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/err/number_0.1.2.json:
--------------------------------------------------------------------------------
1 | [0.1.2]
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/err/number_0_capital_E.json:
--------------------------------------------------------------------------------
1 | [0E]
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/err/number_1_000.json:
--------------------------------------------------------------------------------
1 | [1 000.0]
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/err/number_2.e-3.json:
--------------------------------------------------------------------------------
1 | [2.e-3]
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/err/number_expression.json:
--------------------------------------------------------------------------------
1 | [1+2]
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/err/number_neg_NaN.json:
--------------------------------------------------------------------------------
1 | [-NaN]
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/err/number_plus_Inf.json:
--------------------------------------------------------------------------------
1 | [+Inf]
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/err/object_emoji.json:
--------------------------------------------------------------------------------
1 | {🇨🇭}
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/err/object_no-colon.json:
--------------------------------------------------------------------------------
1 | {"a"
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/err/structure_end_array.json:
--------------------------------------------------------------------------------
1 | ]
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/err/structure_open_object.json:
--------------------------------------------------------------------------------
1 | {
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/err/structure_single_star.json:
--------------------------------------------------------------------------------
1 | *
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/ok/array_empty-string.json:
--------------------------------------------------------------------------------
1 | [""]
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/ok/number_after_space.json:
--------------------------------------------------------------------------------
1 | [ 4]
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/ok/number_minus_zero.json:
--------------------------------------------------------------------------------
1 | [-0]
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/ok/number_negative_one.json:
--------------------------------------------------------------------------------
1 | [-1]
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/ok/number_simple_int.json:
--------------------------------------------------------------------------------
1 | [123]
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/ok/object_empty_key.json:
--------------------------------------------------------------------------------
1 | {"":0}
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/ok/object_simple.json:
--------------------------------------------------------------------------------
1 | {"a":[]}
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/ok/string_in_array.json:
--------------------------------------------------------------------------------
1 | ["asd"]
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/ok/string_unicode_2.json:
--------------------------------------------------------------------------------
1 | ["⍂㈴⍂"]
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/ok/structure_lonely_int.json:
--------------------------------------------------------------------------------
1 | 42
--------------------------------------------------------------------------------
/xtask/coverage/src/ts/mod.rs:
--------------------------------------------------------------------------------
1 | pub mod ts_babel;
2 | pub mod ts_microsoft;
3 |
--------------------------------------------------------------------------------
/crates/biome_css_parser/tests/css_test_suite/ok/class_selector.css:
--------------------------------------------------------------------------------
1 | .action {}
2 |
--------------------------------------------------------------------------------
/crates/biome_dependency_graph/fixtures/frontend/node_modules/shared:
--------------------------------------------------------------------------------
1 | ../../shared/
--------------------------------------------------------------------------------
/crates/biome_formatter/src/token/mod.rs:
--------------------------------------------------------------------------------
1 | pub mod number;
2 | pub mod string;
3 |
--------------------------------------------------------------------------------
/crates/biome_grit_parser/tests/grit_test_suite/ok/language.grit:
--------------------------------------------------------------------------------
1 | language js;
2 |
--------------------------------------------------------------------------------
/crates/biome_grit_parser/tests/grit_test_suite/ok/regex.grit:
--------------------------------------------------------------------------------
1 | r"test\\.*[^'\"]"
2 |
--------------------------------------------------------------------------------
/crates/biome_html_parser/tests/html_specs/error/element/solo-no-tag-name.html:
--------------------------------------------------------------------------------
1 | <
2 |
--------------------------------------------------------------------------------
/crates/biome_html_parser/tests/html_specs/ok/comment.html:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/crates/biome_html_parser/tests/html_specs/ok/doctype/basic.html:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/crates/biome_html_parser/tests/html_specs/ok/doctype/minimal.html:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/crates/biome_html_parser/tests/html_specs/ok/no-end-tags/br.html:
--------------------------------------------------------------------------------
1 | foo
bar
2 |
--------------------------------------------------------------------------------
/crates/biome_js_analyze/tests/specs/style/useConst/invalidFixUnsafe.js:
--------------------------------------------------------------------------------
1 | let x = 0;
--------------------------------------------------------------------------------
/crates/biome_js_analyze/tests/specs/style/useFilenamingConvention/[...slug2].js:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/crates/biome_js_analyze/tests/specs/style/useFilenamingConvention/[[...slug3]].js:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/crates/biome_js_analyze/tests/specs/style/useFilenamingConvention/validCamelCase.js:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/crates/biome_js_analyze/tests/specs/style/useNamingConvention/malformedOptions.js:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/crates/biome_js_formatter/tests/specs/js/module/bom_character.js:
--------------------------------------------------------------------------------
1 | function foo ( ) {}
--------------------------------------------------------------------------------
/crates/biome_js_formatter/tests/specs/prettier/js/arrows/semi/semi.js:
--------------------------------------------------------------------------------
1 | a => {}
2 |
--------------------------------------------------------------------------------
/crates/biome_js_parser/tests/js_test_suite/error/assign_expr_left.js:
--------------------------------------------------------------------------------
1 | ( = foo);
2 |
--------------------------------------------------------------------------------
/crates/biome_js_parser/tests/js_test_suite/error/assign_expr_right.js:
--------------------------------------------------------------------------------
1 | (foo = );
2 |
--------------------------------------------------------------------------------
/crates/biome_js_parser/tests/js_test_suite/error/sequence_expr.js:
--------------------------------------------------------------------------------
1 | 1, 2, , 4
2 |
--------------------------------------------------------------------------------
/crates/biome_js_parser/tests/js_test_suite/error/ts_export_type.ts:
--------------------------------------------------------------------------------
1 | export type
2 |
--------------------------------------------------------------------------------
/crates/biome_js_parser/tests/js_test_suite/error/unicode_escape_unterminated.js:
--------------------------------------------------------------------------------
1 | \u1
--------------------------------------------------------------------------------
/crates/biome_js_parser/tests/js_test_suite/ok/async_ident.js:
--------------------------------------------------------------------------------
1 | let a = async;
2 |
--------------------------------------------------------------------------------
/crates/biome_js_parser/tests/js_test_suite/ok/bom_character.js:
--------------------------------------------------------------------------------
1 | function foo ( ) {}
--------------------------------------------------------------------------------
/crates/biome_js_parser/tests/js_test_suite/ok/object_expr_ident_prop.js:
--------------------------------------------------------------------------------
1 | ({foo})
2 |
--------------------------------------------------------------------------------
/crates/biome_js_parser/tests/js_test_suite/ok/postfix_expr.js:
--------------------------------------------------------------------------------
1 | foo++
2 | foo--
3 |
--------------------------------------------------------------------------------
/crates/biome_js_parser/tests/js_test_suite/ok/sequence_expr.js:
--------------------------------------------------------------------------------
1 | 1, 2, 3, 4, 5
2 |
--------------------------------------------------------------------------------
/crates/biome_js_parser/tests/js_test_suite/ok/this_expr.js:
--------------------------------------------------------------------------------
1 | this
2 | this.foo
3 |
--------------------------------------------------------------------------------
/crates/biome_json_formatter/tests/specs/json/undefined/utf8_bom_empty_object.json:
--------------------------------------------------------------------------------
1 | {}
--------------------------------------------------------------------------------
/crates/biome_json_formatter/tests/specs/prettier/json/json/boolean.json:
--------------------------------------------------------------------------------
1 | true
2 |
--------------------------------------------------------------------------------
/crates/biome_json_formatter/tests/specs/prettier/json/json/string.json:
--------------------------------------------------------------------------------
1 | "string"
2 |
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/err/array_comma_and_number.json:
--------------------------------------------------------------------------------
1 | [,1]
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/err/array_double_comma.json:
--------------------------------------------------------------------------------
1 | [1,,2]
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/err/array_extra_close.json:
--------------------------------------------------------------------------------
1 | ["x"]]
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/err/array_number_and_comma.json:
--------------------------------------------------------------------------------
1 | [1,]
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/err/number_0.3e_plus.json:
--------------------------------------------------------------------------------
1 | [0.3e+]
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/err/number_1.0e_minus.json:
--------------------------------------------------------------------------------
1 | [1.0e-]
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/err/number_1.0e_plus.json:
--------------------------------------------------------------------------------
1 | [1.0e+]
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/err/number_2.e_plus_3.json:
--------------------------------------------------------------------------------
1 | [2.e+3]
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/err/number_hex_1_digit.json:
--------------------------------------------------------------------------------
1 | [0x1]
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/err/number_hex_2_digits.json:
--------------------------------------------------------------------------------
1 | [0x42]
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/err/number_infinity.json:
--------------------------------------------------------------------------------
1 | [Infinity]
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/err/number_invalid+-.json:
--------------------------------------------------------------------------------
1 | [0e+-1]
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/err/number_minus_space_1.json:
--------------------------------------------------------------------------------
1 | [- 1]
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/err/number_with_alpha.json:
--------------------------------------------------------------------------------
1 | [1.2a-3]
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/err/object_missing_colon.json:
--------------------------------------------------------------------------------
1 | {"a" b}
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/err/object_missing_key.json:
--------------------------------------------------------------------------------
1 | {:"b"}
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/err/object_missing_value.json:
--------------------------------------------------------------------------------
1 | {"a":
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/err/object_non_string_key.json:
--------------------------------------------------------------------------------
1 | {1:1}
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/err/object_single_quote.json:
--------------------------------------------------------------------------------
1 | {'a':0}
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/err/object_unquoted_key.json:
--------------------------------------------------------------------------------
1 | {a: "b"}
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/err/string_backslash_00.json:
--------------------------------------------------------------------------------
1 | ["\ "]
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/err/string_escape_x.json:
--------------------------------------------------------------------------------
1 | ["\x00"]
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/err/string_escaped_emoji.json:
--------------------------------------------------------------------------------
1 | ["\🌀"]
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/err/string_single_doublequote.json:
--------------------------------------------------------------------------------
1 | "
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/err/string_unescaped_tab.json:
--------------------------------------------------------------------------------
1 | [" "]
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/err/structure_UTF8_BOM_no_data.json:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/err/structure_double_array.json:
--------------------------------------------------------------------------------
1 | [][]
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/err/structure_unclosed_array.json:
--------------------------------------------------------------------------------
1 | [1
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/ok/array_with_leading_space.json:
--------------------------------------------------------------------------------
1 | [1]
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/ok/number_int_with_exp.json:
--------------------------------------------------------------------------------
1 | [20e1]
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/ok/number_negative_int.json:
--------------------------------------------------------------------------------
1 | [-123]
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/ok/number_negative_zero.json:
--------------------------------------------------------------------------------
1 | [-0]
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/ok/number_real_capital_e.json:
--------------------------------------------------------------------------------
1 | [1E22]
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/ok/number_real_exponent.json:
--------------------------------------------------------------------------------
1 | [123e45]
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/ok/number_real_neg_exp.json:
--------------------------------------------------------------------------------
1 | [1e-2]
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/ok/object_basic.json:
--------------------------------------------------------------------------------
1 | {"asd":"sdf"}
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/ok/string_null_escape.json:
--------------------------------------------------------------------------------
1 | ["\u0000"]
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/ok/string_simple_ascii.json:
--------------------------------------------------------------------------------
1 | ["asd "]
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/ok/string_u+2028_line_sep.json:
--------------------------------------------------------------------------------
1 | ["
"]
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/ok/string_u+2029_par_sep.json:
--------------------------------------------------------------------------------
1 | ["
"]
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/ok/string_unicode.json:
--------------------------------------------------------------------------------
1 | ["\uA66D"]
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/ok/structure_lonely_false.json:
--------------------------------------------------------------------------------
1 | false
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/ok/structure_lonely_null.json:
--------------------------------------------------------------------------------
1 | null
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/ok/structure_lonely_string.json:
--------------------------------------------------------------------------------
1 | "asd"
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/ok/structure_lonely_true.json:
--------------------------------------------------------------------------------
1 | true
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/ok/structure_string_empty.json:
--------------------------------------------------------------------------------
1 | ""
--------------------------------------------------------------------------------
/crates/biome_configuration/tests/invalid/schema.json:
--------------------------------------------------------------------------------
1 | {
2 | "$schema": false
3 | }
4 |
--------------------------------------------------------------------------------
/crates/biome_dependency_graph/fixtures/frontend/src/bar.ts:
--------------------------------------------------------------------------------
1 | export function bar() {}
2 |
--------------------------------------------------------------------------------
/crates/biome_grit_formatter/tests/specs/grit/patterns/regex.grit:
--------------------------------------------------------------------------------
1 | r"test\\.*[^'\"]"
2 |
--------------------------------------------------------------------------------
/crates/biome_grit_parser/tests/grit_test_suite/err/missing_version.grit:
--------------------------------------------------------------------------------
1 | engine biome
2 |
--------------------------------------------------------------------------------
/crates/biome_html_formatter/tests/specs/prettier/html/basics/empty.html.prettier-snap:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/crates/biome_html_formatter/tests/specs/prettier/html/css/empty.html:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/crates/biome_js_analyze/tests/specs/style/useFilenamingConvention/0_start_with_digit.ts:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/crates/biome_js_analyze/tests/specs/style/useFilenamingConvention/ValidPascalCase.js:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/crates/biome_js_analyze/tests/specs/style/useFilenamingConvention/_UNDERSCOREINVALID.js:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/crates/biome_js_analyze/tests/specs/style/useFilenamingConvention/_underscorevalid.js:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/crates/biome_js_analyze/tests/specs/style/useFilenamingConvention/filename.INVALID.js:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/crates/biome_js_analyze/tests/specs/style/useFilenamingConvention/invalid-kebab-case.js:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/crates/biome_js_analyze/tests/specs/style/useFilenamingConvention/invalidCamelCase.js:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/crates/biome_js_analyze/tests/specs/style/useFilenamingConvention/invalidSTrictCase.js:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/crates/biome_js_analyze/tests/specs/style/useFilenamingConvention/invalid_snake_case.js:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/crates/biome_js_analyze/tests/specs/style/useFilenamingConvention/malformedOptions.js:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/crates/biome_js_analyze/tests/specs/style/useFilenamingConvention/valid-kebab-case.js:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/crates/biome_js_analyze/tests/specs/style/useFilenamingConvention/validSTrictCase.js:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/crates/biome_js_analyze/tests/specs/style/useFilenamingConvention/valid_snake_case.js:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/crates/biome_js_formatter/tests/specs/js/module/expression/this_expression.js:
--------------------------------------------------------------------------------
1 | this
2 |
--------------------------------------------------------------------------------
/crates/biome_js_formatter/tests/specs/js/module/no-semi/semicolons-asi.js:
--------------------------------------------------------------------------------
1 | [1, 2];
2 |
--------------------------------------------------------------------------------
/crates/biome_js_formatter/tests/specs/prettier/js/directives/last-line-0.js:
--------------------------------------------------------------------------------
1 | 'use strict';
--------------------------------------------------------------------------------
/crates/biome_js_formatter/tests/specs/prettier/js/label/empty_label.js:
--------------------------------------------------------------------------------
1 | a:;
2 | b
3 |
--------------------------------------------------------------------------------
/crates/biome_js_formatter/tests/specs/prettier/js/non-strict/octal-number.js:
--------------------------------------------------------------------------------
1 | 0777
2 |
--------------------------------------------------------------------------------
/crates/biome_js_formatter/tests/specs/prettier/js/objects/method.js:
--------------------------------------------------------------------------------
1 | a = { f() {} }
2 |
--------------------------------------------------------------------------------
/crates/biome_js_formatter/tests/specs/prettier/js/regex/test.js:
--------------------------------------------------------------------------------
1 | /[/]\/\u0aBc/mgi;
2 |
--------------------------------------------------------------------------------
/crates/biome_js_formatter/tests/specs/prettier/jsx/escape/escape.js:
--------------------------------------------------------------------------------
1 | <
2 |
--------------------------------------------------------------------------------
/crates/biome_js_parser/tests/js_test_suite/error/array_expr_incomplete.js:
--------------------------------------------------------------------------------
1 | let a = [
2 |
--------------------------------------------------------------------------------
/crates/biome_js_parser/tests/js_test_suite/error/block_stmt_in_class.js:
--------------------------------------------------------------------------------
1 | class S{{}}
2 |
--------------------------------------------------------------------------------
/crates/biome_js_parser/tests/js_test_suite/error/identifier.js:
--------------------------------------------------------------------------------
1 | yield;
2 | await;
3 |
--------------------------------------------------------------------------------
/crates/biome_js_parser/tests/js_test_suite/error/unary_expr.js:
--------------------------------------------------------------------------------
1 | ++ ;
2 | -- ;
3 | -;
4 |
--------------------------------------------------------------------------------
/crates/biome_js_parser/tests/js_test_suite/ok/grouping_expr.js:
--------------------------------------------------------------------------------
1 | ((foo))
2 | (foo)
3 |
--------------------------------------------------------------------------------
/crates/biome_js_parser/tests/js_test_suite/ok/jsx_element_as_statements.jsx:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/crates/biome_js_parser/tests/js_test_suite/ok/post_update_expr.js:
--------------------------------------------------------------------------------
1 | foo++
2 | foo--
3 |
--------------------------------------------------------------------------------
/crates/biome_js_parser/tests/js_test_suite/ok/pre_update_expr.js:
--------------------------------------------------------------------------------
1 | ++foo
2 | --foo
3 |
--------------------------------------------------------------------------------
/crates/biome_json_formatter/tests/specs/prettier/json/json/positive-number.json:
--------------------------------------------------------------------------------
1 | +123
2 |
--------------------------------------------------------------------------------
/crates/biome_json_formatter/tests/specs/prettier/json/json/single-quote.json:
--------------------------------------------------------------------------------
1 | 'hello'
2 |
--------------------------------------------------------------------------------
/crates/biome_json_formatter/tests/specs/prettier/json/json/string.json.prettier-snap:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/err/array_comma_after_close.json:
--------------------------------------------------------------------------------
1 | [""],
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/err/array_double_extra_comma.json:
--------------------------------------------------------------------------------
1 | ["x",,]
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/err/array_incomplete_invalid_value.json:
--------------------------------------------------------------------------------
1 | [x
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/err/array_inner_array_no_comma.json:
--------------------------------------------------------------------------------
1 | [3[4]]
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/err/array_missing_value.json:
--------------------------------------------------------------------------------
1 | [ , ""]
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/err/multidigit_number_then_00.json:
--------------------------------------------------------------------------------
1 | 123
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/err/number_0_capital_E_plus.json:
--------------------------------------------------------------------------------
1 | [0E+]
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/err/number_0e+_missing_digit.json:
--------------------------------------------------------------------------------
1 | [0e+]
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/err/number_minus_infinity.json:
--------------------------------------------------------------------------------
1 | [-Infinity]
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/err/number_real_garbage_after_e.json:
--------------------------------------------------------------------------------
1 | [1ea]
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/err/number_starting_with_dot.json:
--------------------------------------------------------------------------------
1 | [.123]
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/err/number_with_leading_zero.json:
--------------------------------------------------------------------------------
1 | [012]
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/err/object_bad_value.json:
--------------------------------------------------------------------------------
1 | ["x", truth]
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/err/object_bracket_key.json:
--------------------------------------------------------------------------------
1 | {[: "x"}
2 |
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/err/object_double_colon.json:
--------------------------------------------------------------------------------
1 | {"x"::"b"}
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/err/object_trailing_comma.json:
--------------------------------------------------------------------------------
1 | {"id":0,}
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/err/object_unterminated-value.json:
--------------------------------------------------------------------------------
1 | {"a":"a
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/err/string_incomplete_escape.json:
--------------------------------------------------------------------------------
1 | ["\"]
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/err/string_start_escape_unclosed.json:
--------------------------------------------------------------------------------
1 | ["\
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/err/string_unicode_CapitalU.json:
--------------------------------------------------------------------------------
1 | "\UA66D"
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/err/string_with_trailing_garbage.json:
--------------------------------------------------------------------------------
1 | ""x
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/err/structure_U+2060_word_joined.json:
--------------------------------------------------------------------------------
1 | []
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/err/structure_angle_bracket_..json:
--------------------------------------------------------------------------------
1 | <.>
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/err/structure_capitalized_True.json:
--------------------------------------------------------------------------------
1 | [True]
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/err/structure_close_unopened_array.json:
--------------------------------------------------------------------------------
1 | 1]
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/err/structure_lone-open-bracket.json:
--------------------------------------------------------------------------------
1 | [
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/err/structure_open_array_comma.json:
--------------------------------------------------------------------------------
1 | [,
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/err/structure_open_array_string.json:
--------------------------------------------------------------------------------
1 | ["a"
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/err/structure_open_object_comma.json:
--------------------------------------------------------------------------------
1 | {,
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/err/structure_unicode-identifier.json:
--------------------------------------------------------------------------------
1 | å
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/err/structure_whitespace_formfeed.json:
--------------------------------------------------------------------------------
1 | []
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/ok/array_arraysWithSpaces.json:
--------------------------------------------------------------------------------
1 | [[] ]
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/ok/array_ending_with_newline.json:
--------------------------------------------------------------------------------
1 | ["a"]
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/ok/array_with_1_and_newline.json:
--------------------------------------------------------------------------------
1 | [1
2 | ]
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/ok/array_with_trailing_space.json:
--------------------------------------------------------------------------------
1 | [2]
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/ok/number_real_pos_exponent.json:
--------------------------------------------------------------------------------
1 | [1e+2]
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/ok/number_simple_real.json:
--------------------------------------------------------------------------------
1 | [123.456789]
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/ok/object.json:
--------------------------------------------------------------------------------
1 | {"asd":"sdf", "dfg":"fgh"}
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/ok/string_comments.json:
--------------------------------------------------------------------------------
1 | ["a/*b*/c/*d//e"]
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/ok/string_double_escape_a.json:
--------------------------------------------------------------------------------
1 | ["\\a"]
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/ok/string_double_escape_n.json:
--------------------------------------------------------------------------------
1 | ["\\n"]
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/ok/string_one-byte-utf-8.json:
--------------------------------------------------------------------------------
1 | ["\u002c"]
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/ok/string_three-byte-utf-8.json:
--------------------------------------------------------------------------------
1 | ["\u0821"]
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/ok/string_two-byte-utf-8.json:
--------------------------------------------------------------------------------
1 | ["\u0123"]
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/ok/string_unescaped_char_delete.json:
--------------------------------------------------------------------------------
1 | [""]
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/ok/string_with_del_character.json:
--------------------------------------------------------------------------------
1 | ["aa"]
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/ok/structure_true_in_array.json:
--------------------------------------------------------------------------------
1 | [true]
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/ok/structure_whitespace_array.json:
--------------------------------------------------------------------------------
1 | []
--------------------------------------------------------------------------------
/crates/biome_json_value/src/lib.rs:
--------------------------------------------------------------------------------
1 | mod json_value;
2 |
3 | pub use json_value::*;
4 |
--------------------------------------------------------------------------------
/crates/biome_markdown_factory/src/make.rs:
--------------------------------------------------------------------------------
1 | pub use crate::generated::node_factory::*;
2 |
--------------------------------------------------------------------------------
/crates/biome_package/tests/manifest/invalid/name.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": false
3 | }
4 |
--------------------------------------------------------------------------------
/crates/biome_yaml_factory/src/make.rs:
--------------------------------------------------------------------------------
1 | pub use crate::generated::node_factory::*;
2 |
--------------------------------------------------------------------------------
/crates/biome_css_parser/tests/css_test_suite/ok/at_rule/at_rule_font_face.css:
--------------------------------------------------------------------------------
1 | @font-face {}
--------------------------------------------------------------------------------
/crates/biome_dependency_graph/fixtures/shared/dist/index.js:
--------------------------------------------------------------------------------
1 |
2 | export function foo() {}
3 |
--------------------------------------------------------------------------------
/crates/biome_grit_parser/tests/grit_test_suite/err/incorrect_version.grit:
--------------------------------------------------------------------------------
1 | engine biome ("1.0")
--------------------------------------------------------------------------------
/crates/biome_grit_parser/tests/grit_test_suite/ok/rewrite.grit:
--------------------------------------------------------------------------------
1 | `println` => `console.log`
2 |
--------------------------------------------------------------------------------
/crates/biome_grit_patterns/tests/specs/ts/capitalize.ts:
--------------------------------------------------------------------------------
1 | console.log('hello, world!');
2 |
--------------------------------------------------------------------------------
/crates/biome_grit_patterns/tests/specs/ts/functionMatchesAsync.grit:
--------------------------------------------------------------------------------
1 | `function foo() {}`
2 |
--------------------------------------------------------------------------------
/crates/biome_grit_patterns/tests/specs/ts/objectLiteral.grit:
--------------------------------------------------------------------------------
1 | `{ foo: 1, bar: "bar" }`
2 |
--------------------------------------------------------------------------------
/crates/biome_grit_patterns/tests/specs/ts/rawSnippet.ts:
--------------------------------------------------------------------------------
1 | console.log('Hello, world!');
2 |
--------------------------------------------------------------------------------
/crates/biome_html_formatter/tests/specs/html/directive/lowercase.html:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/crates/biome_html_formatter/tests/specs/html/directive/uppercase.html:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/crates/biome_html_formatter/tests/specs/html/directive/uppercase2.html:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/crates/biome_html_formatter/tests/specs/html/elements/spacing/case4.html:
--------------------------------------------------------------------------------
1 | foo
2 |
3 | bar
4 |
--------------------------------------------------------------------------------
/crates/biome_html_formatter/tests/specs/prettier/html/js/empty.html:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/crates/biome_html_parser/tests/html_specs/error/element/missing-close-tag-2.html:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/crates/biome_html_parser/tests/html_specs/error/element/missing-close-tag.html:
--------------------------------------------------------------------------------
1 |
foo
2 |
--------------------------------------------------------------------------------
/crates/biome_html_parser/tests/html_specs/error/element/missing-element-name.html:
--------------------------------------------------------------------------------
1 | <>>
2 |
--------------------------------------------------------------------------------
/crates/biome_js_analyze/tests/specs/correctness/noUnusedVariables/validIssue861.js:
--------------------------------------------------------------------------------
1 | e => e;
--------------------------------------------------------------------------------
/crates/biome_js_analyze/tests/specs/correctness/useExhaustiveDependencies/invalidIndices.js:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/crates/biome_js_analyze/tests/specs/style/useFilenamingConvention/filename.validCamelExt.js:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/crates/biome_js_analyze/tests/specs/style/useFilenamingConvention/filename.valid_snake_ext.js:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/crates/biome_js_analyze/tests/specs/style/useFilenamingConvention/invalid-non-ascii-café.js:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/crates/biome_js_analyze/tests/specs/style/useFilenamingConvention/valid-non-ascii-café.js:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/crates/biome_js_analyze/tests/specs/style/useNamingConvention/validNonAscii.js:
--------------------------------------------------------------------------------
1 | const café = 0;
--------------------------------------------------------------------------------
/crates/biome_js_formatter/tests/specs/js/module/statement/statement.js:
--------------------------------------------------------------------------------
1 | ;
2 | debugger
3 |
--------------------------------------------------------------------------------
/crates/biome_js_formatter/tests/specs/prettier/js/babel-plugins/regex-v-flag.js:
--------------------------------------------------------------------------------
1 | /a/v;
2 |
--------------------------------------------------------------------------------
/crates/biome_js_formatter/tests/specs/prettier/js/classes/call.js:
--------------------------------------------------------------------------------
1 | (class {})(class {});
2 |
--------------------------------------------------------------------------------
/crates/biome_js_formatter/tests/specs/prettier/js/cursor/cursor-8.js:
--------------------------------------------------------------------------------
1 | func<|>tion banana(){}
--------------------------------------------------------------------------------
/crates/biome_js_formatter/tests/specs/prettier/js/cursor/cursor-emoji.js:
--------------------------------------------------------------------------------
1 | "😀😀😀😀<|>"
2 |
--------------------------------------------------------------------------------
/crates/biome_js_formatter/tests/specs/prettier/js/directives/last-line-1.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 |
--------------------------------------------------------------------------------
/crates/biome_js_formatter/tests/specs/prettier/js/for/var.js:
--------------------------------------------------------------------------------
1 | for (a in b) var c = {}; [];
2 |
--------------------------------------------------------------------------------
/crates/biome_js_formatter/tests/specs/prettier/js/range/whitespace.js.prettier-snap:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/crates/biome_js_formatter/tests/specs/prettier/js/regex/d-flag.js.prettier-snap:
--------------------------------------------------------------------------------
1 | /./d;
2 |
--------------------------------------------------------------------------------
/crates/biome_js_formatter/tests/specs/prettier/js/regex/v-flag.js.prettier-snap:
--------------------------------------------------------------------------------
1 | /a/v;
2 |
--------------------------------------------------------------------------------
/crates/biome_js_formatter/tests/specs/prettier/js/tuple/tuple-trailing-comma.js:
--------------------------------------------------------------------------------
1 | #[1,]
2 |
--------------------------------------------------------------------------------
/crates/biome_js_formatter/tests/specs/prettier/typescript/class/dunder.ts:
--------------------------------------------------------------------------------
1 | class F<__T> {}
2 |
--------------------------------------------------------------------------------
/crates/biome_js_parser/tests/js_test_suite/error/empty_parenthesized_expression.js:
--------------------------------------------------------------------------------
1 | ();
2 |
--------------------------------------------------------------------------------
/crates/biome_js_parser/tests/js_test_suite/error/enum_no_l_curly.ts:
--------------------------------------------------------------------------------
1 | enum;
2 | enum A;
3 |
--------------------------------------------------------------------------------
/crates/biome_js_parser/tests/js_test_suite/error/enum_no_r_curly.ts:
--------------------------------------------------------------------------------
1 | enum {;
2 | enum A {;
3 |
--------------------------------------------------------------------------------
/crates/biome_js_parser/tests/js_test_suite/error/js_regex_assignment.js:
--------------------------------------------------------------------------------
1 | /=0*_:m/=/*_:|
2 |
--------------------------------------------------------------------------------
/crates/biome_js_parser/tests/js_test_suite/error/object_expr_method.js:
--------------------------------------------------------------------------------
1 | let b = { foo) }
2 |
--------------------------------------------------------------------------------
/crates/biome_js_parser/tests/js_test_suite/error/optional_member.js:
--------------------------------------------------------------------------------
1 | class B { foo?; }
2 |
--------------------------------------------------------------------------------
/crates/biome_js_parser/tests/js_test_suite/error/ts_new_operator.ts:
--------------------------------------------------------------------------------
1 | new A
();
2 |
--------------------------------------------------------------------------------
/crates/biome_js_parser/tests/js_test_suite/error/ts_variable_annotation_err.ts:
--------------------------------------------------------------------------------
1 | let a!;
2 |
--------------------------------------------------------------------------------
/crates/biome_js_parser/tests/js_test_suite/error/type_arguments_incomplete.ts:
--------------------------------------------------------------------------------
1 | funcb;
2 |
--------------------------------------------------------------------------------
/crates/biome_json_formatter/tests/specs/prettier/json/json/null.json.prettier-snap:
--------------------------------------------------------------------------------
1 | null
2 |
--------------------------------------------------------------------------------
/crates/biome_json_formatter/tests/specs/prettier/json/json/number.json.prettier-snap:
--------------------------------------------------------------------------------
1 | 0
2 |
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/allow_trailing_commas/err/null.json:
--------------------------------------------------------------------------------
1 | null,
2 |
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/allow_trailing_commas/err/object.json:
--------------------------------------------------------------------------------
1 | {},
2 |
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/allow_trailing_commas/err/true.json:
--------------------------------------------------------------------------------
1 | true,
2 |
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/err/array_1_true_without_comma.json:
--------------------------------------------------------------------------------
1 | [1 true]
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/err/array_colon_instead_of_comma.json:
--------------------------------------------------------------------------------
1 | ["": 1]
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/err/array_number_and_several_commas.json:
--------------------------------------------------------------------------------
1 | [1,,]
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/err/array_unclosed_trailing_commas.json:
--------------------------------------------------------------------------------
1 | [1,
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/err/array_unclosed_with_object_inside.json:
--------------------------------------------------------------------------------
1 | [{}
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/err/number_U+FF11_fullwidth_digit_one.json:
--------------------------------------------------------------------------------
1 | [1]
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/err/number_neg_with_garbage_at_end.json:
--------------------------------------------------------------------------------
1 | [-1x]
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/err/object_garbage_at_end.json:
--------------------------------------------------------------------------------
1 | {"a":"a" 123}
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/err/object_missing_semicolon.json:
--------------------------------------------------------------------------------
1 | {"a" "b"}
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/err/object_trailing_comment.json:
--------------------------------------------------------------------------------
1 | {"a":"b"}/**/
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/err/string_accentuated_char_no_quotes.json:
--------------------------------------------------------------------------------
1 | [é]
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/err/string_escaped_backslash_bad.json:
--------------------------------------------------------------------------------
1 | ["\\\"]
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/err/string_escaped_ctrl_char_tab.json:
--------------------------------------------------------------------------------
1 | ["\ "]
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/err/string_invalid_backslash_esc.json:
--------------------------------------------------------------------------------
1 | ["\a"]
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/err/string_no_quotes_with_bad_escape.json:
--------------------------------------------------------------------------------
1 | [\n]
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/err/string_single_quote.json:
--------------------------------------------------------------------------------
1 | ['single quote']
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/err/string_unescaped_ctrl_char.json:
--------------------------------------------------------------------------------
1 | ["a a"]
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/err/structure_angle_bracket_null.json:
--------------------------------------------------------------------------------
1 | []
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/err/structure_array_trailing_garbage.json:
--------------------------------------------------------------------------------
1 | [1]x
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/err/structure_ascii-unicode-identifier.json:
--------------------------------------------------------------------------------
1 | aå
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/err/structure_null-byte-outside-string.json:
--------------------------------------------------------------------------------
1 | [ ]
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/err/structure_open_array_apostrophe.json:
--------------------------------------------------------------------------------
1 | ['
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/err/structure_open_array_open_string.json:
--------------------------------------------------------------------------------
1 | ["a
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/err/structure_open_object_close_array.json:
--------------------------------------------------------------------------------
1 | {]
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/err/structure_open_object_open_array.json:
--------------------------------------------------------------------------------
1 | {[
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/err/structure_open_object_open_string.json:
--------------------------------------------------------------------------------
1 | {"a
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/err/structure_open_open.json:
--------------------------------------------------------------------------------
1 | ["\{["\{["\{["\{
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/err/structure_trailing_hash.json:
--------------------------------------------------------------------------------
1 | {"a":"b"}#{}
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/err/structure_unclosed_object.json:
--------------------------------------------------------------------------------
1 | {"asd":"asd"
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/ok/array_heterogeneous.json:
--------------------------------------------------------------------------------
1 | [null, 1, "1", {}]
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/ok/number_real_capital_e_neg_exp.json:
--------------------------------------------------------------------------------
1 | [1E-2]
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/ok/number_real_capital_e_pos_exp.json:
--------------------------------------------------------------------------------
1 | [1E+2]
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/ok/object_duplicated_key.json:
--------------------------------------------------------------------------------
1 | {"a":"b","a":"c"}
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/ok/string_backslash_doublequotes.json:
--------------------------------------------------------------------------------
1 | ["\""]
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/ok/string_escaped_noncharacter.json:
--------------------------------------------------------------------------------
1 | ["\uFFFF"]
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/ok/string_nbsp_uescaped.json:
--------------------------------------------------------------------------------
1 | ["new\u00A0line"]
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/ok/string_nonCharacterInUTF-8_U+FFFF.json:
--------------------------------------------------------------------------------
1 | [""]
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/ok/structure_lonely_negative_real.json:
--------------------------------------------------------------------------------
1 | -0.1
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/ok/structure_trailing_newline.json:
--------------------------------------------------------------------------------
1 | ["a"]
2 |
--------------------------------------------------------------------------------
/crates/biome_css_formatter/tests/specs/prettier/css/range/issue2267.css.prettier-snap:
--------------------------------------------------------------------------------
1 | .x{}
2 |
--------------------------------------------------------------------------------
/crates/biome_css_parser/tests/css_test_suite/error/selector/class_selector_err.css:
--------------------------------------------------------------------------------
1 | . .class {}
2 |
--------------------------------------------------------------------------------
/crates/biome_css_parser/tests/css_test_suite/error/selector/id_selector_err.css:
--------------------------------------------------------------------------------
1 | # .class {}
2 |
--------------------------------------------------------------------------------
/crates/biome_css_parser/tests/css_test_suite/error/selector/missing_identifier.css:
--------------------------------------------------------------------------------
1 | . , # {}
2 |
--------------------------------------------------------------------------------
/crates/biome_grit_parser/tests/grit_test_suite/err/incorrect_engine.grit:
--------------------------------------------------------------------------------
1 | engine marzani (1.0)
2 |
--------------------------------------------------------------------------------
/crates/biome_grit_parser/tests/grit_test_suite/ok/marzano_pattern.grit:
--------------------------------------------------------------------------------
1 | engine marzano(1.0)
2 |
--------------------------------------------------------------------------------
/crates/biome_grit_parser/tests/grit_test_suite/ok/pattern_with_version.grit:
--------------------------------------------------------------------------------
1 | engine biome (1.0)
2 |
--------------------------------------------------------------------------------
/crates/biome_grit_patterns/tests/specs/ts/duplicateVariable.grit:
--------------------------------------------------------------------------------
1 | `$fn && $fn()` => `$fn?.()`
2 |
--------------------------------------------------------------------------------
/crates/biome_html_formatter/tests/specs/html/self-closing.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
![]()
4 |
--------------------------------------------------------------------------------
/crates/biome_html_formatter/tests/specs/prettier/html/basics/comment.html:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/crates/biome_html_formatter/tests/specs/prettier/html/tags/unsupported.html:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/crates/biome_html_parser/tests/html_specs/error/element/child-no-tag-name.html:
--------------------------------------------------------------------------------
1 | <
2 |
--------------------------------------------------------------------------------
/crates/biome_html_parser/tests/html_specs/ok/attributes/attributes.html:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/crates/biome_js_analyze/tests/specs/complexity/noUselessFragments/withJsxTextInvalid.jsx:
--------------------------------------------------------------------------------
1 | <>foo>
--------------------------------------------------------------------------------
/crates/biome_js_analyze/tests/specs/correctness/noUndeclaredVariables/valid.js:
--------------------------------------------------------------------------------
1 | const x = global1;
--------------------------------------------------------------------------------
/crates/biome_js_analyze/tests/specs/correctness/noUnusedVariables/invalidFixNone.js:
--------------------------------------------------------------------------------
1 | const x = 0;
--------------------------------------------------------------------------------
/crates/biome_js_analyze/tests/specs/correctness/noUnusedVariables/invalidType.ts:
--------------------------------------------------------------------------------
1 | type A = string;
--------------------------------------------------------------------------------
/crates/biome_js_analyze/tests/specs/correctness/noUnusedVariables/issue4114.js:
--------------------------------------------------------------------------------
1 | c;
2 | const c = 0;
--------------------------------------------------------------------------------
/crates/biome_js_analyze/tests/specs/nursery/noBitwiseOperators/validBitwiseAnd.js:
--------------------------------------------------------------------------------
1 | let a = 5 & 6;
--------------------------------------------------------------------------------
/crates/biome_js_analyze/tests/specs/nursery/noEnum/invalid.ts:
--------------------------------------------------------------------------------
1 | enum MyEnum {
2 | A = 123
3 | }
4 |
--------------------------------------------------------------------------------
/crates/biome_js_analyze/tests/specs/nursery/useExportsLast/valid_no_exports.js:
--------------------------------------------------------------------------------
1 | const foo = 1;
2 |
--------------------------------------------------------------------------------
/crates/biome_js_analyze/tests/specs/performance/noReExportAll/valid.js:
--------------------------------------------------------------------------------
1 | export { foo } from "foo";
--------------------------------------------------------------------------------
/crates/biome_js_analyze/tests/specs/style/useFilenamingConvention/filename.INVALID-extension.js:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/crates/biome_js_analyze/tests/specs/style/useFilenamingConvention/invalidMatchExtension.INVALID.js:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/crates/biome_js_analyze/tests/specs/style/useNamingConvention/invalidNonAscii.js:
--------------------------------------------------------------------------------
1 | const café = 0;
--------------------------------------------------------------------------------
/crates/biome_js_analyze/tests/specs/suspicious/noEmptyInterface/invalid.ts:
--------------------------------------------------------------------------------
1 | interface Foo {}
2 |
--------------------------------------------------------------------------------
/crates/biome_js_analyze/tests/specs/suspicious/noSparseArray/valid.js:
--------------------------------------------------------------------------------
1 | const a = [ 1, 2, ];
2 |
--------------------------------------------------------------------------------
/crates/biome_js_analyze/tests/suppression/correctness/noUnusedVariables/simple.js:
--------------------------------------------------------------------------------
1 | let c = !a || !b;
--------------------------------------------------------------------------------
/crates/biome_js_formatter/tests/specs/js/module/with.js:
--------------------------------------------------------------------------------
1 | with ( b)
2 |
3 | {
4 | 5
5 | }
6 |
--------------------------------------------------------------------------------
/crates/biome_js_formatter/tests/specs/prettier/js/arrows/block_like.js:
--------------------------------------------------------------------------------
1 | a = () => ({} = this);
2 |
--------------------------------------------------------------------------------
/crates/biome_js_formatter/tests/specs/prettier/js/arrows/semi/semi.js.prettier-snap:
--------------------------------------------------------------------------------
1 | (a) => {};
2 |
--------------------------------------------------------------------------------
/crates/biome_js_formatter/tests/specs/prettier/js/classes/top-level-super/example.js:
--------------------------------------------------------------------------------
1 | super();
2 |
--------------------------------------------------------------------------------
/crates/biome_js_formatter/tests/specs/prettier/js/comments/first-line.js:
--------------------------------------------------------------------------------
1 | a // comment
2 | b
3 |
--------------------------------------------------------------------------------
/crates/biome_js_formatter/tests/specs/prettier/js/cursor/cursor-2.js:
--------------------------------------------------------------------------------
1 |
2 | foo <|> (bar);
3 |
--------------------------------------------------------------------------------
/crates/biome_js_formatter/tests/specs/prettier/js/directives/last-line-2.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 |
3 |
--------------------------------------------------------------------------------
/crates/biome_js_formatter/tests/specs/prettier/js/directives/no-newline.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 | a
3 |
--------------------------------------------------------------------------------
/crates/biome_js_formatter/tests/specs/prettier/js/in/arrow-function-invalid.js:
--------------------------------------------------------------------------------
1 | () => [] in x
2 |
--------------------------------------------------------------------------------
/crates/biome_js_formatter/tests/specs/prettier/js/newline/backslash_2028.js:
--------------------------------------------------------------------------------
1 | 1;/*a*///b
/*c*/2
2 |
--------------------------------------------------------------------------------
/crates/biome_js_formatter/tests/specs/prettier/js/newline/backslash_2029.js:
--------------------------------------------------------------------------------
1 | 1;/*a*///b
/*c*/2
2 |
--------------------------------------------------------------------------------
/crates/biome_js_formatter/tests/specs/prettier/js/regex/multiple-flags.js:
--------------------------------------------------------------------------------
1 | /.*/ms;
2 | /.*/my;
3 |
--------------------------------------------------------------------------------
/crates/biome_js_formatter/tests/specs/prettier/typescript/arrows/type_params.ts:
--------------------------------------------------------------------------------
1 | (a) => { }
2 |
--------------------------------------------------------------------------------
/crates/biome_js_formatter/tests/specs/prettier/typescript/as/array-pattern.ts:
--------------------------------------------------------------------------------
1 | [x as any] = x;
2 |
--------------------------------------------------------------------------------
/crates/biome_js_formatter/tests/specs/prettier/typescript/bigint/bigint.ts:
--------------------------------------------------------------------------------
1 | type T00 = bigint;
2 |
--------------------------------------------------------------------------------
/crates/biome_js_formatter/tests/specs/prettier/typescript/cursor/identifier-1.ts:
--------------------------------------------------------------------------------
1 | let i<|>: T;
2 |
--------------------------------------------------------------------------------
/crates/biome_js_formatter/tests/specs/prettier/typescript/cursor/identifier-2.ts:
--------------------------------------------------------------------------------
1 | let i:<|> T;
2 |
--------------------------------------------------------------------------------
/crates/biome_js_formatter/tests/specs/prettier/typescript/cursor/identifier-3.ts:
--------------------------------------------------------------------------------
1 | let i<|> : T;
2 |
--------------------------------------------------------------------------------
/crates/biome_js_formatter/tests/specs/ts/module/qualified_module_name.ts:
--------------------------------------------------------------------------------
1 | module a . b . c { }
2 |
--------------------------------------------------------------------------------
/crates/biome_js_formatter/tests/specs/ts/statement/empty_block.ts:
--------------------------------------------------------------------------------
1 | interface X {}
2 | type X = {};
--------------------------------------------------------------------------------
/crates/biome_js_formatter/tests/specs/ts/type/qualified_name.ts:
--------------------------------------------------------------------------------
1 | type QualifiedType = A . B . C
--------------------------------------------------------------------------------
/crates/biome_js_parser/tests/js_test_suite/error/abstract_class_in_js.js:
--------------------------------------------------------------------------------
1 | abstract class A {}
2 |
--------------------------------------------------------------------------------
/crates/biome_js_parser/tests/js_test_suite/error/arrow_escaped_async.js:
--------------------------------------------------------------------------------
1 | \u0061sync () => {}
2 |
--------------------------------------------------------------------------------
/crates/biome_js_parser/tests/js_test_suite/error/class_implements.js:
--------------------------------------------------------------------------------
1 | class B implements C {}
2 |
--------------------------------------------------------------------------------
/crates/biome_js_parser/tests/js_test_suite/error/export_as_identifier_err.js:
--------------------------------------------------------------------------------
1 | export { as c }
2 |
--------------------------------------------------------------------------------
/crates/biome_js_parser/tests/js_test_suite/error/formal_params_invalid.js:
--------------------------------------------------------------------------------
1 | function (a++, c) {}
2 |
--------------------------------------------------------------------------------
/crates/biome_js_parser/tests/js_test_suite/error/function_broken.js:
--------------------------------------------------------------------------------
1 | function foo())})}{{{ {}
2 |
--------------------------------------------------------------------------------
/crates/biome_js_parser/tests/js_test_suite/error/import_no_meta.js:
--------------------------------------------------------------------------------
1 | import.foo
2 | import.metaa
3 |
--------------------------------------------------------------------------------
/crates/biome_js_parser/tests/js_test_suite/error/js_rewind_at_eof_token.js:
--------------------------------------------------------------------------------
1 | (([zAgRvz=[=(e{V{
2 |
--------------------------------------------------------------------------------
/crates/biome_js_parser/tests/js_test_suite/error/return_stmt_err.js:
--------------------------------------------------------------------------------
1 | return;
2 | return foo;
3 |
--------------------------------------------------------------------------------
/crates/biome_js_parser/tests/js_test_suite/error/semicolons_err.js:
--------------------------------------------------------------------------------
1 | let foo = bar throw foo
2 |
--------------------------------------------------------------------------------
/crates/biome_js_parser/tests/js_test_suite/error/subscripts_err.js:
--------------------------------------------------------------------------------
1 | foo()?.baz[].;
2 | BAR`b
3 |
--------------------------------------------------------------------------------
/crates/biome_js_parser/tests/js_test_suite/error/ts_declare_interface_err.ts:
--------------------------------------------------------------------------------
1 | declare interface
2 |
--------------------------------------------------------------------------------
/crates/biome_js_parser/tests/js_test_suite/error/ts_tuple_type_incomplete.ts:
--------------------------------------------------------------------------------
1 | type A = [string,
2 |
--------------------------------------------------------------------------------
/crates/biome_js_parser/tests/js_test_suite/error/ts_type_parameters_incomplete.ts:
--------------------------------------------------------------------------------
1 | type A {};
2 |
--------------------------------------------------------------------------------
/crates/biome_js_parser/tests/js_test_suite/ok/block_stmt.js:
--------------------------------------------------------------------------------
1 | {}
2 | {{{{}}}}
3 | { foo = bar; }
4 |
--------------------------------------------------------------------------------
/crates/biome_js_parser/tests/js_test_suite/ok/class_decorator.js:
--------------------------------------------------------------------------------
1 | @decorator
2 | class Foo { }
3 |
--------------------------------------------------------------------------------
/crates/biome_js_parser/tests/js_test_suite/ok/computed_member_in.js:
--------------------------------------------------------------------------------
1 | for ({}["x" in {}];;) {}
2 |
--------------------------------------------------------------------------------
/crates/biome_js_parser/tests/js_test_suite/ok/import_default_clause.js:
--------------------------------------------------------------------------------
1 | import foo from "test";
2 |
--------------------------------------------------------------------------------
/crates/biome_js_parser/tests/js_test_suite/ok/js_parenthesized_expression.js:
--------------------------------------------------------------------------------
1 | ((foo))
2 | (foo)
3 |
--------------------------------------------------------------------------------
/crates/biome_js_parser/tests/js_test_suite/ok/object_expr.js:
--------------------------------------------------------------------------------
1 | let a = {};
2 | let b = {foo,}
3 |
--------------------------------------------------------------------------------
/crates/biome_js_parser/tests/js_test_suite/ok/ts_ambient_var_statement.ts:
--------------------------------------------------------------------------------
1 | declare var a, b, c;
2 |
--------------------------------------------------------------------------------
/crates/biome_js_parser/tests/js_test_suite/ok/ts_arrow_exrp_in_alternate.ts:
--------------------------------------------------------------------------------
1 | a ? (b) : a => {};
2 |
--------------------------------------------------------------------------------
/crates/biome_js_parser/tests/js_test_suite/ok/type_arguments_like_expression.js:
--------------------------------------------------------------------------------
1 | ((0)<5>(6))
2 |
--------------------------------------------------------------------------------
/crates/biome_js_parser/tests/js_test_suite/ok/while_stmt.js:
--------------------------------------------------------------------------------
1 | while (true) {}
2 | while (5) {}
3 |
--------------------------------------------------------------------------------
/crates/biome_json_formatter/tests/specs/prettier/json/json/boolean.json.prettier-snap:
--------------------------------------------------------------------------------
1 | true
2 |
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/err/array_items_separated_by_semicolon.json:
--------------------------------------------------------------------------------
1 | [1:2]
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/err/array_newlines_unclosed.json:
--------------------------------------------------------------------------------
1 | ["a",
2 | 4
3 | ,1,
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/err/array_spaces_vertical_tab_formfeed.json:
--------------------------------------------------------------------------------
1 | ["a"\f]
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/err/number_invalid-negative-real.json:
--------------------------------------------------------------------------------
1 | [-123.123foo]
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/err/number_neg_int_starting_with_zero.json:
--------------------------------------------------------------------------------
1 | [-012]
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/err/number_neg_real_without_int_part.json:
--------------------------------------------------------------------------------
1 | [-.123]
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/err/number_real_without_fractional_part.json:
--------------------------------------------------------------------------------
1 | [1.]
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/err/object_comma_instead_of_colon.json:
--------------------------------------------------------------------------------
1 | {"x", null}
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/err/object_trailing_comment_open.json:
--------------------------------------------------------------------------------
1 | {"a":"b"}/**//
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/err/object_with_trailing_garbage.json:
--------------------------------------------------------------------------------
1 | {"a":"b"}#
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/err/string_1_surrogate_then_escape.json:
--------------------------------------------------------------------------------
1 | ["\uD800\"]
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/err/string_incomplete_surrogate.json:
--------------------------------------------------------------------------------
1 | ["\uD834\uDd"]
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/err/string_invalid_unicode_escape.json:
--------------------------------------------------------------------------------
1 | ["\uqqqq"]
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/err/string_single_string_no_double_quotes.json:
--------------------------------------------------------------------------------
1 | abc
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/err/string_unescaped_newline.json:
--------------------------------------------------------------------------------
1 | ["new
2 | line"]
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/err/structure_array_with_extra_array_close.json:
--------------------------------------------------------------------------------
1 | [1]]
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/err/structure_array_with_unclosed_string.json:
--------------------------------------------------------------------------------
1 | ["asd]
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/err/structure_number_with_trailing_garbage.json:
--------------------------------------------------------------------------------
1 | 2@
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/err/structure_object_unclosed_no_value.json:
--------------------------------------------------------------------------------
1 | {"":
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/err/structure_whitespace_U+2060_word_joiner.json:
--------------------------------------------------------------------------------
1 | []
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/ok/array_with_several_null.json:
--------------------------------------------------------------------------------
1 | [1,null,null,null,2]
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/ok/number_real_fraction_exponent.json:
--------------------------------------------------------------------------------
1 | [123.456e78]
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/ok/object_with_newlines.json:
--------------------------------------------------------------------------------
1 | {
2 | "a": "b"
3 | }
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/ok/string_allowed_escapes.json:
--------------------------------------------------------------------------------
1 | ["\"\\\/\b\f\n\r\t"]
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/ok/string_escaped_control_character.json:
--------------------------------------------------------------------------------
1 | ["\u0012"]
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/ok/string_in_array_with_leading_space.json:
--------------------------------------------------------------------------------
1 | [ "asd"]
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/ok/string_nonCharacterInUTF-8_U+10FFFF.json:
--------------------------------------------------------------------------------
1 | [""]
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/ok/string_uEscape.json:
--------------------------------------------------------------------------------
1 | ["\u0061\u30af\u30EA\u30b9"]
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/ok/string_uescaped_newline.json:
--------------------------------------------------------------------------------
1 | ["new\u000Aline"]
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/ok/string_unicodeEscapedBackslash.json:
--------------------------------------------------------------------------------
1 | ["\u005C"]
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/ok/string_unicode_U+FDD0_nonchar.json:
--------------------------------------------------------------------------------
1 | ["\uFDD0"]
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/ok/string_unicode_U+FFFE_nonchar.json:
--------------------------------------------------------------------------------
1 | ["\uFFFE"]
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/undefined/number_neg_int_huge_exp.json:
--------------------------------------------------------------------------------
1 | [-1e+9999]
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/undefined/number_real_underflow.json:
--------------------------------------------------------------------------------
1 | [123e-10000000]
--------------------------------------------------------------------------------
/crates/biome_json_parser/tests/json_test_suite/undefined/structure_UTF-8_BOM_empty_object.json:
--------------------------------------------------------------------------------
1 | {}
--------------------------------------------------------------------------------
/crates/biome_package/tests/manifest/invalid/license_invalid.json:
--------------------------------------------------------------------------------
1 | {
2 | "license": "bar"
3 | }
4 |
--------------------------------------------------------------------------------
/.github/CODEOWNERS:
--------------------------------------------------------------------------------
1 | /.github/workflows/ja-translation.yaml @biomejs/japanese-translation-reviewers
2 |
--------------------------------------------------------------------------------
/crates/biome_configuration/tests/invalid/files_incorrect_type.json:
--------------------------------------------------------------------------------
1 | {
2 | "files": "wrong"
3 | }
4 |
--------------------------------------------------------------------------------
/crates/biome_configuration/tests/invalid/overrides/incorrect_type.json:
--------------------------------------------------------------------------------
1 | {
2 | "overrides": {}
3 | }
4 |
--------------------------------------------------------------------------------
/crates/biome_css_formatter/tests/specs/prettier/css/selector-call/call.css:
--------------------------------------------------------------------------------
1 | .e:extend(.f, .g) {}
2 |
--------------------------------------------------------------------------------
/crates/biome_css_parser/tests/css_test_suite/ok/selector/pseudo_element/escaped.css:
--------------------------------------------------------------------------------
1 | div::bef\ore {}
2 |
--------------------------------------------------------------------------------
/crates/biome_grit_parser/tests/grit_test_suite/err/invalid_language.grit:
--------------------------------------------------------------------------------
1 | language non_existing;
2 |
--------------------------------------------------------------------------------
/crates/biome_grit_parser/tests/grit_test_suite/ok/backtick_snippet.grit:
--------------------------------------------------------------------------------
1 | `console.log($message)`
2 |
--------------------------------------------------------------------------------
/crates/biome_grit_patterns/tests/specs/error/missingQuote.ts:
--------------------------------------------------------------------------------
1 |
2 | // Not going to match anything.
3 |
--------------------------------------------------------------------------------
/crates/biome_grit_patterns/tests/specs/ts/invalidSnippet.ts:
--------------------------------------------------------------------------------
1 |
2 | // Not going to match anything.
3 |
--------------------------------------------------------------------------------
/crates/biome_grit_patterns/tests/specs/ts/typeAlias.ts:
--------------------------------------------------------------------------------
1 | type Foo = string;
2 | type Bar = number;
3 |
--------------------------------------------------------------------------------
/crates/biome_html_formatter/tests/specs/html/attributes/self-closing.html:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/crates/biome_html_formatter/tests/specs/html/elements/empty-extra-lines.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/crates/biome_html_formatter/tests/specs/prettier/html/css/empty.html.prettier-snap:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/crates/biome_html_formatter/tests/specs/prettier/html/js/empty.html.prettier-snap:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/crates/biome_html_parser/tests/html_specs/ok/embedded-languages/script-empty.html:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/crates/biome_html_parser/tests/html_specs/ok/no-end-tags/br-in-span.html:
--------------------------------------------------------------------------------
1 | foo
bar
2 |
--------------------------------------------------------------------------------
/crates/biome_js_analyze/tests/specs/complexity/noUselessEmptyExport/valid_export.js:
--------------------------------------------------------------------------------
1 | export const A = 0;
--------------------------------------------------------------------------------
/crates/biome_js_analyze/tests/specs/complexity/noUselessFragments/assigments.jsx:
--------------------------------------------------------------------------------
1 | arr = <>Error>
2 |
--------------------------------------------------------------------------------
/crates/biome_js_analyze/tests/specs/correctness/noInitializerWithDefinite/invalid.ts:
--------------------------------------------------------------------------------
1 | let a!: number = 5;
--------------------------------------------------------------------------------
/crates/biome_js_analyze/tests/specs/correctness/noInitializerWithDefinite/valid.ts:
--------------------------------------------------------------------------------
1 | let b!: number;
2 |
--------------------------------------------------------------------------------
/crates/biome_js_analyze/tests/specs/correctness/useExhaustiveDependencies/emptyHookNameInOptions.js:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/crates/biome_js_analyze/tests/specs/nursery/useStrictMode/invalid-with-directive.cjs:
--------------------------------------------------------------------------------
1 | "use server";
2 |
--------------------------------------------------------------------------------
/crates/biome_js_analyze/tests/specs/style/noNamespaceImport/invalid.js:
--------------------------------------------------------------------------------
1 | import * as foo from "foo"
2 |
--------------------------------------------------------------------------------
/crates/biome_js_analyze/tests/specs/style/noRestrictedGlobals/additionalGlobal.js:
--------------------------------------------------------------------------------
1 | console.log($);
2 |
--------------------------------------------------------------------------------
/crates/biome_js_analyze/tests/specs/style/noUnusedTemplateLiteral/invalidFixSafe.js:
--------------------------------------------------------------------------------
1 | var foo = `bar`;
--------------------------------------------------------------------------------
/crates/biome_js_analyze/tests/specs/style/useFilenamingConvention/%validMatch.ts:
--------------------------------------------------------------------------------
1 | export const C: number;
--------------------------------------------------------------------------------
/crates/biome_js_analyze/tests/specs/style/useFilenamingConvention/filename.valid-kebab-extension.js:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/crates/biome_js_analyze/tests/specs/style/useFilenamingConvention/malformedOptionsEmptyFilenameCases.js:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/crates/biome_js_analyze/tests/specs/style/useNamingConvention/invalidGlobal.d.ts:
--------------------------------------------------------------------------------
1 | interface camelCase {}
--------------------------------------------------------------------------------
/crates/biome_js_analyze/tests/specs/style/useNodeAssertStrict/valid.ts:
--------------------------------------------------------------------------------
1 | declare module "node:assert" {}
--------------------------------------------------------------------------------
/crates/biome_js_analyze/tests/specs/style/useNodejsImportProtocol/valid.ts:
--------------------------------------------------------------------------------
1 | declare module "module" {}
--------------------------------------------------------------------------------
/crates/biome_js_analyze/tests/specs/suspicious/noImportAssign/valid.js:
--------------------------------------------------------------------------------
1 | import { g } from "y";
2 | k = 3;
--------------------------------------------------------------------------------
/crates/biome_js_analyze/tests/specs/suspicious/noLabelVar/valid.js:
--------------------------------------------------------------------------------
1 | const x = "test";
2 | z: expr;
3 |
--------------------------------------------------------------------------------
/crates/biome_js_analyze/tests/specs/suspicious/noVar/invalidModule.js:
--------------------------------------------------------------------------------
1 | var x = 1;
2 | export const y = x;
--------------------------------------------------------------------------------
/crates/biome_js_formatter/tests/specs/js/module/export/expression_clause.js:
--------------------------------------------------------------------------------
1 | export default (1 - 43);
--------------------------------------------------------------------------------
/crates/biome_js_formatter/tests/specs/js/module/import/namespace_import.js:
--------------------------------------------------------------------------------
1 | import * as all from "all"
--------------------------------------------------------------------------------
/crates/biome_js_formatter/tests/specs/prettier/js/babel-plugins/regex-v-flag.js.prettier-snap:
--------------------------------------------------------------------------------
1 | /a/v;
2 |
--------------------------------------------------------------------------------
/crates/biome_js_formatter/tests/specs/prettier/js/classes/ternary.js:
--------------------------------------------------------------------------------
1 | if (1) (class {}) ? 1 : 2;
2 |
--------------------------------------------------------------------------------
/crates/biome_js_formatter/tests/specs/prettier/js/cursor/cursor-10.js.prettier-snap:
--------------------------------------------------------------------------------
1 | const y = 5;
2 | <|>
--------------------------------------------------------------------------------
/crates/biome_js_formatter/tests/specs/prettier/js/cursor/cursor-2.js.prettier-snap:
--------------------------------------------------------------------------------
1 | foo<|>(bar);
2 |
--------------------------------------------------------------------------------
/crates/biome_js_formatter/tests/specs/prettier/js/cursor/cursor-3.js.prettier-snap:
--------------------------------------------------------------------------------
1 | <|>const y = 5;
2 |
--------------------------------------------------------------------------------
/crates/biome_js_formatter/tests/specs/prettier/js/cursor/cursor-5.js:
--------------------------------------------------------------------------------
1 | const /* h<|>i */ y = 5
2 |
--------------------------------------------------------------------------------
/crates/biome_js_formatter/tests/specs/prettier/js/export/undefined.js:
--------------------------------------------------------------------------------
1 | export { undefinedExport };
2 |
--------------------------------------------------------------------------------
/crates/biome_js_formatter/tests/specs/prettier/js/label/empty_label.js.prettier-snap:
--------------------------------------------------------------------------------
1 | a:;
2 | b;
3 |
--------------------------------------------------------------------------------
/crates/biome_js_formatter/tests/specs/prettier/js/non-strict/octal-number.js.prettier-snap:
--------------------------------------------------------------------------------
1 | 0777;
2 |
--------------------------------------------------------------------------------
/crates/biome_js_formatter/tests/specs/prettier/js/objects/method.js.prettier-snap:
--------------------------------------------------------------------------------
1 | a = { f() {} };
2 |
--------------------------------------------------------------------------------
/crates/biome_js_formatter/tests/specs/prettier/js/range/array.js.prettier-snap:
--------------------------------------------------------------------------------
1 | a = [, , , , , , , a];
--------------------------------------------------------------------------------
/crates/biome_js_formatter/tests/specs/prettier/js/regex/test.js.prettier-snap:
--------------------------------------------------------------------------------
1 | /[/]\/\u0aBc/gim;
2 |
--------------------------------------------------------------------------------
/crates/biome_js_formatter/tests/specs/prettier/js/top-level-await/example.js:
--------------------------------------------------------------------------------
1 | await something();
2 |
--------------------------------------------------------------------------------
/crates/biome_js_formatter/tests/specs/prettier/js/tuple/tuple-trailing-comma.js.prettier-snap:
--------------------------------------------------------------------------------
1 | #[1];
2 |
--------------------------------------------------------------------------------
/crates/biome_js_formatter/tests/specs/prettier/js/unicode/keys.js:
--------------------------------------------------------------------------------
1 | ({'この事はつもり素晴らしいことさ': '35jL9V'})
2 |
--------------------------------------------------------------------------------
/crates/biome_js_formatter/tests/specs/prettier/js/with/indent.js:
--------------------------------------------------------------------------------
1 | with (0) {}
2 |
3 | with (0) 1;
4 |
--------------------------------------------------------------------------------
/crates/biome_js_formatter/tests/specs/prettier/jsx/escape/escape.js.prettier-snap:
--------------------------------------------------------------------------------
1 | <
;
2 |
--------------------------------------------------------------------------------
/crates/biome_js_formatter/tests/specs/prettier/jsx/jsx/self-closing.js:
--------------------------------------------------------------------------------
1 | ;
2 | ;
3 |
--------------------------------------------------------------------------------
/crates/biome_js_formatter/tests/specs/prettier/jsx/newlines/windows.js:
--------------------------------------------------------------------------------
1 |
2 | Text
3 |
4 |
--------------------------------------------------------------------------------
/crates/biome_js_formatter/tests/specs/prettier/typescript/definite/asi.ts:
--------------------------------------------------------------------------------
1 | let x
2 | !function() {};
3 |
--------------------------------------------------------------------------------
/crates/biome_js_formatter/tests/specs/prettier/typescript/tsx/keyword.tsx:
--------------------------------------------------------------------------------
1 | ;
2 |
3 |
--------------------------------------------------------------------------------
/crates/biome_js_formatter/tests/specs/prettier/typescript/unknown/unknown.ts:
--------------------------------------------------------------------------------
1 | type T00 = unknown;
2 |
--------------------------------------------------------------------------------
/crates/biome_js_parser/tests/js_test_suite/error/bracket_expr_err.js:
--------------------------------------------------------------------------------
1 | foo[]
2 | foo?.[]
3 | foo[
4 |
--------------------------------------------------------------------------------
/crates/biome_js_parser/tests/js_test_suite/error/class_declare_member.js:
--------------------------------------------------------------------------------
1 | class B { declare foo }
2 |
--------------------------------------------------------------------------------
/crates/biome_js_parser/tests/js_test_suite/error/class_member_modifier.js:
--------------------------------------------------------------------------------
1 | class A { abstract foo; }
2 |
--------------------------------------------------------------------------------
/crates/biome_js_parser/tests/js_test_suite/error/enum_decl_no_id.ts:
--------------------------------------------------------------------------------
1 | enum {A,B,C}
2 | enum 1 {A,B,C}
3 |
--------------------------------------------------------------------------------
/crates/biome_js_parser/tests/js_test_suite/error/import_type_error2.ts:
--------------------------------------------------------------------------------
1 | type A = typeof import("a.json",{
--------------------------------------------------------------------------------
/crates/biome_js_parser/tests/js_test_suite/error/js_invalid_assignment.js:
--------------------------------------------------------------------------------
1 | ([=[(p[=[(p%]>([=[(p[=[(
2 |
--------------------------------------------------------------------------------
/crates/biome_js_parser/tests/js_test_suite/error/jsx_spread_no_expression.jsx:
--------------------------------------------------------------------------------
1 | {...}
2 |
--------------------------------------------------------------------------------
/crates/biome_js_parser/tests/js_test_suite/error/method_getter_err.js:
--------------------------------------------------------------------------------
1 | class foo {
2 | get {}
3 | }
4 |
--------------------------------------------------------------------------------
/crates/biome_js_parser/tests/js_test_suite/error/object_expr_non_ident_literal_prop.js:
--------------------------------------------------------------------------------
1 | let d = {5}
2 |
--------------------------------------------------------------------------------
/crates/biome_js_parser/tests/js_test_suite/error/primary_expr_invalid_recovery.js:
--------------------------------------------------------------------------------
1 | let a = \; foo();
2 |
--------------------------------------------------------------------------------
/crates/biome_js_parser/tests/js_test_suite/error/unicode_escape_with_unicode_char.js:
--------------------------------------------------------------------------------
1 | const v = \u1¡1
--------------------------------------------------------------------------------
/crates/biome_js_parser/tests/js_test_suite/error/variable_declarator_list_empty.js:
--------------------------------------------------------------------------------
1 | const;
2 | const
3 |
--------------------------------------------------------------------------------
/crates/biome_js_parser/tests/js_test_suite/ok/await_in_ambient_context.ts:
--------------------------------------------------------------------------------
1 | declare const await: any;
2 |
--------------------------------------------------------------------------------
/crates/biome_js_parser/tests/js_test_suite/ok/export_default_expression_clause.js:
--------------------------------------------------------------------------------
1 | export default a;
2 |
--------------------------------------------------------------------------------
/crates/biome_js_parser/tests/js_test_suite/ok/import_as_identifier.js:
--------------------------------------------------------------------------------
1 | import { as } from "test";
2 |
--------------------------------------------------------------------------------
/crates/biome_js_parser/tests/js_test_suite/ok/import_default_clauses.js:
--------------------------------------------------------------------------------
1 | import e, { f } from "b";
2 |
--------------------------------------------------------------------------------
/crates/biome_js_parser/tests/js_test_suite/ok/jsx_element_attribute_element.jsx:
--------------------------------------------------------------------------------
1 |