feat(eslint): Rule "prefer-object-spread"

Signed-off-by: Valentin Popov <info@valentineus.link>
This commit is contained in:
Valentin Popov 2020-02-14 02:02:36 +04:00
parent b0067fb63e
commit 8b3dc0cee4
Signed by: Valentin Popov
GPG Key ID: 269A00ACA90A8EA3
2 changed files with 4 additions and 1 deletions

View File

@ -238,7 +238,7 @@
- [ ] "prefer-exponentiation-operator"
- [ ] "prefer-named-capture-group"
- [ ] "prefer-numeric-literals"
- [ ] "prefer-object-spread"
- [X] "prefer-object-spread"
- [ ] "prefer-promise-reject-errors"
- [X] "prefer-reflect"
- [ ] "prefer-regex-literals"

View File

@ -395,6 +395,9 @@
"ignoreReadBeforeAssign": false
}
],
"prefer-object-spread": [
"error"
],
"prefer-reflect": [
"off"
],