mirror of
https://github.com/renovatebot/renovate.git
synced 2025-01-11 06:26:26 +00:00
528112bc47
All promise syntax has been replaced with async/await. `renovate` is now transpiled with `babel` to a `dist/` folder, which is the target of `main` and `start` in `package.json` now. `renovate` can be run in `node.js` v7 without transpilation using `npm run start-raw` Closes #77
26 lines
645 B
JavaScript
26 lines
645 B
JavaScript
module.exports = {
|
|
'env': {
|
|
'node': true,
|
|
},
|
|
'extends': [
|
|
'airbnb-base',
|
|
],
|
|
'plugins': [
|
|
'import',
|
|
'promise',
|
|
],
|
|
'rules': {
|
|
'no-use-before-define': 0,
|
|
'no-restricted-syntax': 0,
|
|
'no-await-in-loop': 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'
|
|
}
|
|
};
|