From 9664fa13ececa88bb863af5e6dab372667a58c9b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E1=84=80=E1=85=B5=E1=86=B7=E1=84=89=E1=85=A1=E1=86=BC?= =?UTF-8?q?=E1=84=83=E1=85=AE?= Date: Sun, 14 Jan 2024 11:08:43 +0900 Subject: [PATCH] test: testcode incorrect parserOption fix --- tests/src/rules/newline-after-import.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/src/rules/newline-after-import.js b/tests/src/rules/newline-after-import.js index 22d290c4a4..1c2dcf99f4 100644 --- a/tests/src/rules/newline-after-import.js +++ b/tests/src/rules/newline-after-import.js @@ -879,7 +879,7 @@ ruleTester.run('newline-after-import', require('rules/newline-after-import'), { column: 1, message: REQUIRE_ERROR_MESSAGE_MULTIPLE(2), }], - parserOptions: { ecmaVersion: 2015, sourceType: 'module' }, + parserOptions: { ecmaVersion: 2015 }, options: [{ considerComments: true, count: 2 }], }, ),