]> git.r.bdr.sh - rbdr/forum/blame_incremental - .eslintrc.cjs
Port to sveltekit
[rbdr/forum] / .eslintrc.cjs
... / ...
CommitLineData
1module.exports = {
2 root: true,
3 extends: ['@hapi/eslint-config-hapi'],
4 plugins: ['svelte3'],
5 overrides: [{ files: ['*.svelte'], processor: 'svelte3/svelte3' }],
6 parserOptions: {
7 sourceType: 'module',
8 ecmaVersion: 2019
9 },
10 env: {
11 browser: true,
12 es2017: true,
13 node: true
14 },
15 rules: {
16 indent: [2, 2],
17 'no-undef': 2,
18 'require-yield': 0
19 }
20};