-
Notifications
You must be signed in to change notification settings - Fork 9
Deprecated checks and options
antonkovalyov edited this page Jun 23, 2012
·
2 revisions
This is a list of deprecated checks and options. We will be removing some options while moving others into an opt-in mode.
This list is not set in stone so if you disagree with it—let us know.
-
smarttabs
: smart tabs will be recognized and allowed by default. -
trailing
(partially): trailing whitespace after a backslash in a multi-line string is already an error in Esprima this case is already covered. -
nomen
: this can be easily implemented as an extension to JSHint so we'll remove it from the main tree. -
white
: this option (along withnomen
and many others) will be re-introduced as an extension that enforces Crockford's style guide. -
multistr
: multi-line strings will be allowed by default.
-
globalstrict
: by default we will allow global use of "strict mode" directive. However, optionbrowser
will disallow it. -
es5
andesnext
: by default JSHint will allow ES5 and ES6 syntax. There will be an option to restrict yourself to ES... 3?
scripturl
supernew
-
forin
(we definitely need to check forhasOwnProperty
check but it has to be better) -
validthis
(we need to rethink how this works; it is helpful but PITA)