mirror of
https://github.com/renovatebot/renovate.git
synced 2025-01-10 22:16:28 +00:00
23e2fd2c44
Closes #21, Closes #22
24 lines
583 B
JavaScript
24 lines
583 B
JavaScript
module.exports = {
|
|
'env': {
|
|
'node': true,
|
|
},
|
|
'extends': [
|
|
'airbnb-base',
|
|
],
|
|
'plugins': [
|
|
'import',
|
|
'promise',
|
|
],
|
|
'rules': {
|
|
'no-use-before-define': 0,
|
|
'promise/always-return': 'error',
|
|
'promise/no-return-wrap': 'error',
|
|
'promise/param-names': 'error',
|
|
'promise/catch-or-return': 'error',
|
|
'promise/no-native': 'off',
|
|
'promise/no-nesting': 'warn',
|
|
'promise/no-promise-in-callback': 'warn',
|
|
'promise/no-callback-in-promise': 'warn',
|
|
'promise/avoid-new': 'warn'
|
|
}
|
|
};
|