-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.yml
55 lines (55 loc) · 893 Bytes
/
.eslintrc.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
env:
browser: false
commonjs: true
es6: true
jest: true
node: true
extends:
- 'eslint:recommended'
- 'plugin:node/recommended'
- 'plugin:security/recommended'
- 'plugin:promise/recommended'
- 'airbnb'
globals:
Array: readonly
Date: readonly
JSON: readonly
Map: readonly
Math: readonly
Number: readonly
Object: readonly
Promise: readonly
Set: readonly
URL: readonly
document: readonly
module: readonly
navigator: readonly
process: readonly
window: readonly
plugins:
- filenames
- import
- promise
- compat
- security
parserOptions:
ecmaVersion: 2018
root: true
rules:
node/shebang: warn
indent:
- error
- 2
linebreak-style: off
no-restricted-syntax: off
no-plusplus: off
quotes:
- error
- single
guard-for-in: off
no-await-in-loop: off
radix: off
func-names: off
semi:
- error
- always