X-Git-Url: https://git.r.bdr.sh/rbdr/forum/blobdiff_plain/58f7d52150456713d3132408668a92d0f6f3d084..ccfa62b1a1c79cad28aa4cb05ea560be535e601f:/.eslintrc.cjs?ds=inline diff --git a/.eslintrc.cjs b/.eslintrc.cjs index 55df7f3..a50862b 100644 --- a/.eslintrc.cjs +++ b/.eslintrc.cjs @@ -3,6 +3,7 @@ module.exports = { extends: ['@hapi/eslint-config-hapi'], plugins: ['svelte3'], overrides: [{ files: ['*.svelte'], processor: 'svelte3/svelte3' }], + parser: 'babel-eslint', parserOptions: { sourceType: 'module', ecmaVersion: 2019 @@ -16,5 +17,12 @@ module.exports = { indent: [2, 2], 'no-undef': 2, 'require-yield': 0 + }, + globals: { + test: true, + describe: true, + expect: true, + beforeEach: true, + beforeAll: true } };