@iflow/eslint-config
Version:
ESLint Configuration
31 lines (30 loc) • 745 B
JavaScript
module.exports = {
rules: {
"prefer-numeric-literals": "off",
"no-confusing-arrow": [
"warn",
{
allowParens: true
}
],
"no-useless-computed-key": "warn",
"prefer-destructuring": [
"warn",
{
VariableDeclarator: {
array: false,
object: true
},
AssignmentExpression: {
array: true,
object: false
}
},
{
enforceForRenamedProperties: false
}
],
"prefer-rest-params": "warn",
"prefer-template": "warn"
}
};