]>
Commit | Line | Data |
---|---|---|
362f9116 RBR |
1 | import hapi from '@hapi/eslint-plugin'; |
2 | ||
3 | export default [{ | |
4 | languageOptions: { | |
5 | globals: { | |
6 | document: true, | |
7 | window: true, | |
32e2eed2 RBR |
8 | console: true, |
9 | Event: true, | |
10 | EventTarget: true, | |
11 | fetch: true, | |
12 | MutationObserver: true | |
362f9116 RBR |
13 | } |
14 | }, | |
15 | plugins: { | |
16 | hapi | |
17 | }, | |
18 | rules: { | |
19 | indent: [ | |
20 | 2, | |
21 | 2 | |
22 | ], | |
23 | 'no-undef': 2 | |
24 | } | |
25 | }]; |