X-Git-Url: https://git.r.bdr.sh/rbdr/forum/blobdiff_plain/58f7d52150456713d3132408668a92d0f6f3d084..fcbbc49687afeeecdc9388b367b1d7f2d0c76214:/.eslintrc.cjs?ds=sidebyside diff --git a/.eslintrc.cjs b/.eslintrc.cjs index 55df7f3..bf4517a 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,15 @@ module.exports = { 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 } };