summaryrefslogtreecommitdiff
path: root/src/rules
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2020-02-14 01:02:36 +0300
committerValentin Popov <info@valentineus.link>2020-02-14 01:02:36 +0300
commit8b3dc0cee431945f31098a77c3a7cec0fb666b48 (patch)
treeeb26cd8c13cc33434280fd5951665c06c63cc126 /src/rules
parentb0067fb63e1234e60a33781fa65ba6ca87f4670e (diff)
downloadeslint-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/rules')
-rw-r--r--src/rules/default.json3
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"
],