aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.eslintignore1
-rw-r--r--.eslintrc.cjs6
2 files changed, 6 insertions, 1 deletions
diff --git a/.eslintignore b/.eslintignore
index 51e4a9c..4234ddf 100644
--- a/.eslintignore
+++ b/.eslintignore
@@ -1,4 +1,3 @@
assets
dist
.gitignore
-src/config/config.js
diff --git a/.eslintrc.cjs b/.eslintrc.cjs
index 55df7f3..8b5da17 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,10 @@ module.exports = {
indent: [2, 2],
'no-undef': 2,
'require-yield': 0
+ },
+ globals: {
+ test: true,
+ describe: true,
+ expect: true
}
};