Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
tools: enable rest-spread-spacing
There are currently 17 instances of the spread operator and all of them
have no space between the operator and the subsequent argument. This
change enables a lint rule to enforce that same style on any future uses
of the spread operator.

Refs: https://github.com/nodejs/node/pull/6573/files/7a1b47f329f2e6481ef8f54951570197fd98378d#r74479351
  • Loading branch information
Trott committed Aug 11, 2016
commit 3b006a31857e590733be7e54659ddc8a214eaa80
1 change: 1 addition & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ rules:
no-new-symbol: 2
no-this-before-super: 2
prefer-const: 2
rest-spread-spacing: 2
template-curly-spacing: 2

# Custom rules in tools/eslint-rules
Expand Down