forked from paypal/paypal-common-components
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.eslintrc.js
More file actions
34 lines (31 loc) · 763 Bytes
/
.eslintrc.js
File metadata and controls
34 lines (31 loc) · 763 Bytes
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/@krakenjs/grumbler-scripts/config/.eslintrc-browser.js",
globals: {
Promise: false,
__PAYPAL_CHECKOUT__: true,
__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,
},
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",
},
};