From 160f4efc4eaf363662b464a4a26a4c9e514deb5d Mon Sep 17 00:00:00 2001 From: Yosuke Ota Date: Thu, 20 Jan 2022 19:38:52 +0900 Subject: [PATCH] Support arbitrary module namespace names with `" + }, + { + "type": "Punctuator", + "range": [ + 69, + 83 + ], + "loc": { + "start": { + "line": 5, + "column": 0 + }, + "end": { + "line": 5, + "column": 14 + } + }, + "value": "" + } + ] +} \ No newline at end of file diff --git a/test/fixtures/ast/multiple-scripts-with-export05/parser-options.json b/test/fixtures/ast/multiple-scripts-with-export05/parser-options.json new file mode 100644 index 00000000..9f047d2c --- /dev/null +++ b/test/fixtures/ast/multiple-scripts-with-export05/parser-options.json @@ -0,0 +1,4 @@ +{ + "sourceType": "module", + "ecmaVersion": 2022 +} diff --git a/test/fixtures/ast/multiple-scripts-with-export05/requirements.json b/test/fixtures/ast/multiple-scripts-with-export05/requirements.json new file mode 100644 index 00000000..afdd18ef --- /dev/null +++ b/test/fixtures/ast/multiple-scripts-with-export05/requirements.json @@ -0,0 +1,3 @@ +{ + "eslint": ">=8.7" +} \ No newline at end of file diff --git a/test/fixtures/ast/multiple-scripts-with-export05/source.vue b/test/fixtures/ast/multiple-scripts-with-export05/source.vue new file mode 100644 index 00000000..f848b252 --- /dev/null +++ b/test/fixtures/ast/multiple-scripts-with-export05/source.vue @@ -0,0 +1,9 @@ + + diff --git a/test/fixtures/ast/multiple-scripts-with-export05/token-ranges.json b/test/fixtures/ast/multiple-scripts-with-export05/token-ranges.json new file mode 100644 index 00000000..2a9e6963 --- /dev/null +++ b/test/fixtures/ast/multiple-scripts-with-export05/token-ranges.json @@ -0,0 +1,33 @@ +[ + "", + "" +] \ No newline at end of file diff --git a/test/fixtures/ast/multiple-scripts-with-export05/tree.json b/test/fixtures/ast/multiple-scripts-with-export05/tree.json new file mode 100644 index 00000000..0637a088 --- /dev/null +++ b/test/fixtures/ast/multiple-scripts-with-export05/tree.json @@ -0,0 +1 @@ +[] \ No newline at end of file