diff options
author | Valentin Popov <info@valentineus.link> | 2020-02-14 01:05:43 +0300 |
---|---|---|
committer | Valentin Popov <info@valentineus.link> | 2020-02-14 01:05:43 +0300 |
commit | d79a699a42e5a21953dfb6949237a98ff8ef7552 (patch) | |
tree | 02b9d28d43a34b75b5c9ea656273cc4ee48331b0 | |
parent | 85de842fca3eebedb0a4b9d677825c92dde4080a (diff) | |
download | eslint-config-d79a699a42e5a21953dfb6949237a98ff8ef7552.tar.xz eslint-config-d79a699a42e5a21953dfb6949237a98ff8ef7552.zip |
feat(eslint): Rule "prefer-spread"
Signed-off-by: Valentin Popov <info@valentineus.link>
-rw-r--r-- | ROADMAP.md | 2 | ||||
-rw-r--r-- | src/rules/default.json | 3 |
2 files changed, 4 insertions, 1 deletions
@@ -243,7 +243,7 @@ - [X] "prefer-reflect" - [ ] "prefer-regex-literals" - [X] "prefer-rest-params" -- [ ] "prefer-spread" +- [X] "prefer-spread" - [ ] "prefer-template" - [X] "quote-props" - [X] "quotes" diff --git a/src/rules/default.json b/src/rules/default.json index af45e83..e5e5bd7 100644 --- a/src/rules/default.json +++ b/src/rules/default.json @@ -404,6 +404,9 @@ "prefer-rest-params": [ "error" ], + "prefer-spread": [ + "error" + ], "quote-props": [ "error", "consistent-as-needed", |