mirror of
https://github.com/renovatebot/renovate.git
synced 2025-01-11 06:26:26 +00:00
22 lines
605 B
JavaScript
22 lines
605 B
JavaScript
module.exports = {
|
|
env: {
|
|
node: true,
|
|
},
|
|
extends: ['airbnb-base', 'prettier'],
|
|
plugins: ['import', 'promise'],
|
|
rules: {
|
|
'no-use-before-define': 0,
|
|
'no-restricted-syntax': 0,
|
|
'no-await-in-loop': 0,
|
|
'prefer-template': 'off',
|
|
'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',
|
|
},
|
|
};
|