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 /src | |
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>
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 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", |