X-Git-Url: https://git.r.bdr.sh/rbdr/forum/blobdiff_plain/63c3da2af27fcfb1a9893ade03543e3a30949c8d..58f7d52150456713d3132408668a92d0f6f3d084:/.eslintrc.cjs diff --git a/.eslintrc.cjs b/.eslintrc.cjs new file mode 100644 index 0000000..55df7f3 --- /dev/null +++ b/.eslintrc.cjs @@ -0,0 +1,20 @@ +module.exports = { + root: true, + extends: ['@hapi/eslint-config-hapi'], + plugins: ['svelte3'], + overrides: [{ files: ['*.svelte'], processor: 'svelte3/svelte3' }], + parserOptions: { + sourceType: 'module', + ecmaVersion: 2019 + }, + env: { + browser: true, + es2017: true, + node: true + }, + rules: { + indent: [2, 2], + 'no-undef': 2, + 'require-yield': 0 + } +};