From 3d0bec491e6d823df510ba12dba38be820116e86 Mon Sep 17 00:00:00 2001 From: Ulf Hermann Date: Tue, 15 Oct 2019 10:39:40 +0200 Subject: qmllint: Parse .mjs files as JavaScript rather than QML Change-Id: I80783289452300d4609a27f5b470ecdeeeca5e71 Reviewed-by: Fabian Kosmale Reviewed-by: Ulf Hermann --- tests/auto/qml/qmllint/data/esmodule.mjs | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 tests/auto/qml/qmllint/data/esmodule.mjs (limited to 'tests/auto/qml/qmllint/data') diff --git a/tests/auto/qml/qmllint/data/esmodule.mjs b/tests/auto/qml/qmllint/data/esmodule.mjs new file mode 100644 index 0000000000..50a53be2b1 --- /dev/null +++ b/tests/auto/qml/qmllint/data/esmodule.mjs @@ -0,0 +1,2 @@ + +export function test() { console.log("hello world"); } -- cgit v1.2.3