X-Git-Url: https://git.r.bdr.sh/rbdr/forum/blobdiff_plain/58f7d52150456713d3132408668a92d0f6f3d084..8ae7249a5bb12f23d402f0ede32956827de4e111:/.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 } };