extends: ['@hapi/eslint-config-hapi'],
plugins: ['svelte3'],
overrides: [{ files: ['*.svelte'], processor: 'svelte3/svelte3' }],
+ parser: 'babel-eslint',
parserOptions: {
sourceType: 'module',
ecmaVersion: 2019
indent: [2, 2],
'no-undef': 2,
'require-yield': 0
+ },
+ globals: {
+ test: true,
+ describe: true,
+ expect: true,
+ beforeEach: true,
+ beforeAll: true
}
};