mirror of
https://github.com/airbnb/javascript.git
synced 2026-04-25 03:00:19 -04:00
[eslint-v2] add prefer-rest-params
This commit is contained in:
committed by
Jordan Harband
parent
c5b4f05879
commit
e1a087fbb1
@@ -57,6 +57,9 @@ module.exports = {
|
||||
'prefer-spread': 0,
|
||||
// suggest using Reflect methods where applicable
|
||||
'prefer-reflect': 0,
|
||||
// use rest parameters instead of arguments
|
||||
// http://eslint.org/docs/rules/prefer-rest-params
|
||||
'prefer-rest-params': 2,
|
||||
// suggest using template literals instead of string concatenation
|
||||
// http://eslint.org/docs/rules/prefer-template
|
||||
'prefer-template': 2,
|
||||
|
||||
Reference in New Issue
Block a user