X-Git-Url: https://git.r.bdr.sh/rbdr/forum/blobdiff_plain/58f7d52150456713d3132408668a92d0f6f3d084..55fb920baa9792266be1a6b981f954c622c1eaf9:/.eslintrc.cjs?ds=sidebyside 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 } };