.eslintrc.js 295 B

123456789101112
  1. module.exports = {
  2. env: {
  3. node: true,
  4. },
  5. rules: {
  6. 'no-async-promise-executor': 'off',
  7. 'no-useless-return': 'off',
  8. 'new-cap': 'off',
  9. // Disabled because of the false positive bug: https://github.com/eslint/eslint/issues/11899
  10. 'require-atomic-updates': 'off',
  11. },
  12. }