]>
Commit | Line | Data |
---|---|---|
58f7d521 RBR |
1 | module.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: { | |
73973eda | 22 | jest: true, |
77182aa8 RBR |
23 | test: true, |
24 | describe: true, | |
8ae7249a | 25 | expect: true, |
73973eda RBR |
26 | afterEach: true, |
27 | afterAll: true, | |
8ae7249a RBR |
28 | beforeEach: true, |
29 | beforeAll: true | |
58f7d521 RBR |
30 | } |
31 | }; |