You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 17, 2018. It is now read-only.
sloppy is actually a tough one to support, since it (if I remember correctly) requires you to wrap every file in a method and place use strict at the top of that method.
Output from jslint.com is Problem at line 1 character 1: Use the function form of 'use strict'.
That will affect every file that everyone has written. And is really crappy in the node.js world, since the common pattern is to not wrap everything in a function form.
regexp seems fine to support, as it's one of those things that you should only turn off if you know what you're doing.
There is some changes in JSLint defaults. I updated some of them as in @clebert fork (Sannis@7b033c5).
But there is some options, that I've revert and what to discuss:
regexp: false
, that disallow.
in regexpssloppy: true
, that need'use strict'
for all filesstupid: true
, that disallow...Sync
Node.js methodsThere is no problem to fix this in nodelint sources, but what about users that will be affected by such update? I need some help to decide.
// cc: @tav, @mkitt, @cliffano, @paularmstrong, @codenothing, @mranney, @azatoth
The text was updated successfully, but these errors were encountered: