]> git.r.bdr.sh - rbdr/forum/blob - .eslintrc.cjs
8b5da173bfea8f70a58a38bc6314cf4eb2372cc4
[rbdr/forum] / .eslintrc.cjs
1 module.exports = {
2 root: true,
3 extends: ['@hapi/eslint-config-hapi'],
4 plugins: ['svelte3'],
5 overrides: [{ files: ['*.svelte'], processor: 'svelte3/svelte3' }],
6 parser: 'babel-eslint',
7 parserOptions: {
8 sourceType: 'module',
9 ecmaVersion: 2019
10 },
11 env: {
12 browser: true,
13 es2017: true,
14 node: true
15 },
16 rules: {
17 indent: [2, 2],
18 'no-undef': 2,
19 'require-yield': 0
20 },
21 globals: {
22 test: true,
23 describe: true,
24 expect: true
25 }
26 };