From c7599d889ae07a8853a9c19ce4427c8a7718e867 Mon Sep 17 00:00:00 2001 From: Mariusz Nowak Date: Fri, 18 Oct 2019 14:41:01 +0200 Subject: [PATCH] Fix eslint configuration for test utils --- tests/.eslintrc.js | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/tests/.eslintrc.js b/tests/.eslintrc.js index 9938cda39..d26dc4ead 100644 --- a/tests/.eslintrc.js +++ b/tests/.eslintrc.js @@ -6,4 +6,18 @@ module.exports = { // console.info allowed to report on long going tasks or valuable debug information 'no-console': ['error', { allow: ['info'] }], }, + overrides: [ + { + files: ['utils/**.js'], + parserOptions: { + ecmaVersion: 2015, + }, + }, + { + files: ['utils/aws-cleanup.js', 'utils/integration.js'], + parserOptions: { + ecmaVersion: 2017, + }, + }, + ], };