forked from DalavanCloud/paypal-smart-payment-buttons
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.js
33 lines (30 loc) · 773 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
/* @flow */
// eslint-disable-next-line import/no-commonjs
module.exports = {
'extends': '@krakenjs/eslint-config-grumbler/eslintrc-browser',
'rules': {
'react/display-name': 'off',
'prefer-regex-literals': 'off',
'require-atomic-updates': 'off',
'max-lines': 'off',
'react/require-default-props': 'off',
'react/prop-types': 'off'
},
'globals': {
'__SMART_BUTTONS__': true,
'paypal': true,
'$Shape': true,
'afterAll': true,
'jest': true
},
'overrides': [{
'files': ['**/*.test.js'],
'env': {
'jest': true
},
'globals': {
'JestMockFn': false
}
}],
'ignorePatterns': ['node-qrcode.js']
};