@byndyusoft/eslint-config
Version:
ESLint config for Byndyusoft projects
21 lines (20 loc) • 589 B
JavaScript
/* https://eslint.org/docs/rules/#possible-errors */
module.exports = {
rules: {
'no-await-in-loop': 'error',
'no-console': 'warn',
'no-debugger': 'warn',
'no-dupe-else-if': 'error',
'no-empty': [
'error',
{
allowEmptyCatch: true
}
],
'no-promise-executor-return': 'error',
'no-prototype-builtins': 'warn',
'no-template-curly-in-string': 'warn',
'no-useless-backreference': 'warn',
'require-atomic-updates': 'error'
}
};