Uh oh!
There was an error while loading. Please reload this page.
.eslintrc: enable es6's spread - #5028
Conversation
This came up in nodejs#5020 (comment). This patch basically enables spread option so that eslint will be happy.
cjihrig
commented
Feb 1, 2016
LGTM, but do we need this if we aren't using it anywhere yet? |
thefourtheye
commented
Feb 1, 2016
Hmmm, that is true. But unless we enable, no code can use spread operator, right? |
cjihrig
commented
Feb 1, 2016
That's true, but in that case, we might as well just turn everything on. I think in future versions of ESLint we'll be able to just enable an entire language version. |
thefourtheye
commented
Feb 1, 2016
@cjihrig Fair enough. I included all the relevant es6 things from http://eslint.org/docs/user-guide/configuring.html#specifying-language-options. PTAL. |
thefourtheye
commented
Feb 1, 2016
Oh wait! There are linter errors now. |
thefourtheye
commented
Feb 1, 2016
Okay, fixed now. All because of the usage of |
silverwind
commented
Feb 1, 2016
LGTM pending CI. |
cjihrig
commented
Feb 1, 2016
LGTM |
1 similar comment
targos
commented
Feb 1, 2016
LGTM |
targos
commented
Feb 1, 2016
Btw I just tried eslint 2 (which is still in beta) here: https://github.com/targos/node/commits/eslint-v2 |
jasnell
commented
Feb 1, 2016
LGTM |
1 similar comment
jbergstroem
commented
Feb 2, 2016
LGTM |
This change enables the es6 environment in eslint. Rather than selecting es6 rules one at a time, this turns all of them on with the exception of modules. Ref: nodejs#5028
Trott
commented
Feb 3, 2016
cjihrig
commented
Feb 3, 2016
I was referring to the upcoming |
thefourtheye
commented
Feb 3, 2016
Closing in favor of #5052 |
This came up in
#5020 (comment). This
patch basically enables spread option so that eslint will be happy.