forked from Craigdigital/paypal-checkout-components
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.js
34 lines (31 loc) · 932 Bytes
/
.eslintrc.js
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
/* @flow */
module.exports = {
'extends': './node_modules/grumbler-scripts/config/.eslintrc-browser.js',
'globals': {
'Promise': false,
'__PAYPAL_CHECKOUT__': true,
'__sdk__': true,
'__LOCALE__': true,
'__CLIENT_ID__': true,
'__MERCHANT_ID__': true,
'__INTENT__': true,
'__COMMIT__': true,
'__VAULT__': true,
'__PORT__': true,
'__STAGE_HOST__': true,
'__HOST__': true,
'__PATH__': true,
'__COMPONENTS__': true,
'__FUNDING_ELIGIBILITY__': true
},
'rules': {
'complexity': 'off',
'max-nested-callbacks': [ 'error', 5 ],
'react/prop-types': 'off',
'react/style-prop-object': 'off',
'react/display-name': 'off',
'react/require-default-props': 'off',
'react/forbid-component-props': 'off',
'react/no-unused-prop-types': 'off'
}
};