-
Notifications
You must be signed in to change notification settings - Fork 18
/
.eslintrc
51 lines (51 loc) · 1.38 KB
/
.eslintrc
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
{
"extends": "lifion",
"rules": {
"jest/no-conditional-expect": "off",
"radar/no-identical-functions": "off",
"unicorn/no-array-callback-reference": "off",
"unicorn/no-array-for-each": "off",
"unicorn/prefer-object-from-entries": "off",
"no-secrets/no-secrets": ["error", {
"ignoreContent": [
"NoSuchLifecycleConfiguration",
"Kinesis_20131202.SubscribeToShard",
"ProvisionedThroughputExceededException",
"InvalidArgumentException",
"SubscribeToShardEvent",
"params.provisionedThroughput.writeCapacityUnits",
"eyJmb28iOiJiYXIsIGJhesQFxgoifQ==",
"Qk2rZuty0pO/vptdjx3KZ2hUqVM=",
"n0vR6WyiMI1VeNqoISbuIEPoMPM=",
"hoKe98qHWTKVJg\\+g8IEsdvvnrLI=",
"uM9dgBWF4OGL42Uqbr61Yyt5h58="
]
}]
},
"overrides": [
{
"files": ["lib/records.js"],
"rules": { "promise/catch-or-return": "off" }
},
{
"files": ["lib/records.js", "lib/fan-out-consumer.js"],
"rules": {
"no-underscore-dangle": [
"warn",
{
"allow": ["_transform", "_write"],
"allowAfterSuper": false,
"allowAfterThis": false,
"enforceInMethodNames": true
}
]
}
},
{
"files": ["lib/fan-out-consumer.js"],
"rules": {
"max-classes-per-file": ["error", 4]
}
}
]
}