Hello,
just checked out master and ran *npm test*, but to make it succeed I had to
be more forgiving in the .eslintrc file. What's up with that? I have a
proposal/pr cooking, but I'd rather not have to commit relaxing stuff to
the config just like that.
These are the problems reported in Makefile.js:
./Makefile.js
7:0 error Use the function form of "use
strict" no-global-strict
280:37 warning Gratuitous parentheses around
expression no-extra-parens
311:12 error Unexpected console
statement no-console
317:16 error Unexpected console
statement no-console
323:16 error Unexpected console
statement no-console
330:12 error Unexpected console
statement no-console
336:12 error Unexpected console
statement no-console
342:12 error Unexpected console
statement no-console
358:24 error Unexpected console
statement no-console
365:24 error Unexpected console
statement no-console
371:20 error Unexpected console
statement no-console
380:12 error Unexpected console
statement no-console
392:0 warning This function has too many parameters (5). Maximum
allowed is 3 max-params
396:22 warning Gratuitous parentheses around
expression no-extra-parens
✖ 14 problems
And here's what I locally added to .eslintrc to carry on:
,
"no-console": 1,
"max-params": [2, 6],
"no-extra-parens": 1,
"no-global-strict": 1
Regards
/p
--
You received this message because you are subscribed to the Google Groups
"ESLint" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.