diff options
author | Valentin Popov <info@valentineus.link> | 2020-02-14 01:02:36 +0300 |
---|---|---|
committer | Valentin Popov <info@valentineus.link> | 2020-02-14 01:02:36 +0300 |
commit | 8b3dc0cee431945f31098a77c3a7cec0fb666b48 (patch) | |
tree | eb26cd8c13cc33434280fd5951665c06c63cc126 /src | |
parent | b0067fb63e1234e60a33781fa65ba6ca87f4670e (diff) | |
download | eslint-config-8b3dc0cee431945f31098a77c3a7cec0fb666b48.tar.xz eslint-config-8b3dc0cee431945f31098a77c3a7cec0fb666b48.zip |
feat(eslint): Rule "prefer-object-spread"
Signed-off-by: Valentin Popov <info@valentineus.link>
Diffstat (limited to 'src')
-rw-r--r-- | src/rules/default.json | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/rules/default.json b/src/rules/default.json index 5a92435..68a20a9 100644 --- a/src/rules/default.json +++ b/src/rules/default.json @@ -395,6 +395,9 @@ "ignoreReadBeforeAssign": false } ], + "prefer-object-spread": [ + "error" + ], "prefer-reflect": [ "off" ], |