]> git.r.bdr.sh - rbdr/forum/blame - .eslintrc.cjs
Add tests for first batch of components
[rbdr/forum] / .eslintrc.cjs
CommitLineData
58f7d521
RBR
1module.exports = {
2 root: true,
3 extends: ['@hapi/eslint-config-hapi'],
4 plugins: ['svelte3'],
5 overrides: [{ files: ['*.svelte'], processor: 'svelte3/svelte3' }],
77182aa8 6 parser: 'babel-eslint',
58f7d521
RBR
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
77182aa8
RBR
20 },
21 globals: {
22 test: true,
23 describe: true,
24 expect: true
58f7d521
RBR
25 }
26};