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: {
+ jest: true,
+ test: true,
+ describe: true,
+ expect: true,
+ afterEach: true,
+ afterAll: true,
+ beforeEach: true,
+ beforeAll: true
}
};