From 3b8c2ea492917fcb3c0e88ad6682dbd355cc0644 Mon Sep 17 00:00:00 2001 From: kiyan Date: Tue, 9 Mar 2021 23:14:27 +0100 Subject: chore: create ecma base for use in js and ts which fixes jsx issues --- queries/javascript/indents.scm | 33 +-------------------------------- 1 file changed, 1 insertion(+), 32 deletions(-) (limited to 'queries/javascript/indents.scm') diff --git a/queries/javascript/indents.scm b/queries/javascript/indents.scm index f3796dba..b6d9b28b 100644 --- a/queries/javascript/indents.scm +++ b/queries/javascript/indents.scm @@ -1,32 +1 @@ -; inherits: (jsx) - -[ - (object) - (array) - (arguments) - (statement_block) - (object_pattern) - (class_body) - (method_definition) - (named_imports) - (binary_expression) - (return_statement) - (template_substitution) - (expression_statement (call_expression)) - (export_clause) -] @indent - -[ - (arguments (object)) - "(" - ")" - "{" - "}" - "[" - "]" -] @branch - -[ - (comment) - (template_string) -] @ignore +; inherits: ecma,jsx -- cgit v1.2.3