Fix eslint configuration for test utils

This commit is contained in:
Mariusz Nowak 2019-10-18 14:41:01 +02:00
parent 26b98617e5
commit c7599d889a
No known key found for this signature in database
GPG Key ID: B1FBDA8A182B03F2

View File

@ -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,
},
},
],
};