]> git.r.bdr.sh - rbdr/forum/blame_incremental - .eslintrc.cjs
Add getForum pact, normalize stores
[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 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 jest: true,
23 test: true,
24 describe: true,
25 expect: true,
26 afterEach: true,
27 afterAll: true,
28 beforeEach: true,
29 beforeAll: true
30 }
31};