0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00
nodejs/lib
Rich Trott 7406cd3a59 tools: lint for spacing around unary operators
Enable `space-unary-ops` in `.eslintrc`. This prohibits things like:

    i ++        // use `i++` instead
    typeof(foo) // use `typeof foo` or `typeof (foo)` instead

Ref: https://github.com/nodejs/node/pull/4772#discussion_r51732299
PR-URL: https://github.com/nodejs/node/pull/5063
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Michaël Zasso <mic.besace@gmail.com>
Reviewed-By: Roman Reiss <me@silverwind.io>
Reviewed-By: James M Snell <jasnell@gmail.com>
2016-02-04 10:56:17 -08:00
..
internal net: move isLegalPort to internal/net 2016-01-30 17:53:55 -06:00
_debug_agent.js
_debugger.js lib,test: remove extra semicolons 2016-01-16 19:54:25 +01:00
_http_agent.js http: use self.keepAlive instead of self.options.keepAlive 2015-12-30 11:08:16 -08:00
_http_client.js http: remove variable redeclaration 2016-01-11 10:31:45 -08:00
_http_common.js http: remove reference to onParserExecute 2016-01-22 00:35:00 +01:00
_http_incoming.js http: fix non-string header value concatenation 2015-12-30 12:39:17 -05:00
_http_outgoing.js http: Remove an unnecessary assignment 2015-12-17 08:35:59 -08:00
_http_server.js lib: fix style issues after eslint update 2016-01-13 23:16:05 +01:00
_linklist.js lib,test: deprecate _linklist 2015-10-08 17:32:08 -07:00
_stream_duplex.js node: allow multiple arguments passed to nextTick 2015-04-15 17:02:21 -06:00
_stream_passthrough.js
_stream_readable.js stream: refactor redeclared variables 2016-01-24 21:27:22 -08:00
_stream_transform.js stream: prevent object map change in TransformState 2016-02-02 13:05:04 -06:00
_stream_wrap.js stream_wrap: error if stream has StringDecoder 2015-12-06 21:55:25 -05:00
_stream_writable.js streams: update .readable/.writable to false 2015-12-02 12:56:48 -05:00
_tls_common.js tls: scope loop vars with let 2016-01-26 20:53:05 +01:00
_tls_legacy.js lib: fix style issues after eslint update 2016-01-13 23:16:05 +01:00
_tls_wrap.js tls: add getProtocol() to TLS sockets 2016-02-03 21:34:06 -05:00
assert.js lib: fix style issues after eslint update 2016-01-13 23:16:05 +01:00
buffer.js buffer: validate list elements in Buffer.concat 2016-01-31 09:31:08 +01:00
child_process.js child_process: add shell option to spawn() 2016-01-26 19:40:43 -05:00
cluster.js cluster: fix race condition setting suicide prop 2016-01-13 20:15:02 -08:00
console.js console: delete timers that have ended 2015-11-13 11:36:45 -05:00
constants.js
crypto.js crypto: pbkdf2 deprecate digest overload. 2016-01-23 02:26:28 +09:00
dgram.js dgram: scope redeclared variables 2016-01-31 14:15:51 -08:00
dns.js dns: coerce port to number in lookupService 2016-02-01 09:36:57 -08:00
domain.js domains: clear stack when no error handler 2016-01-13 10:55:15 -08:00
events.js lib,test: remove extra semicolons 2016-01-16 19:54:25 +01:00
fs.js fs: refactor redeclared variables 2016-02-01 13:50:53 -08:00
http.js lib,src: remove usage of events.EventEmitter 2015-09-23 00:23:08 +05:30
https.js https: evict cached sessions on error 2016-02-01 21:52:04 -05:00
module.js module: refactor redeclared variable 2016-01-31 19:16:09 +01:00
net.js net: refactor redeclared variables 2016-02-01 08:34:38 -08:00
os.js lib: remove unused modules 2015-12-25 13:05:23 -08:00
path.js lib: scope loop variables 2016-02-01 09:28:38 -08:00
process.js
punycode.js lib: add missing new for errors lib/*.js 2015-03-24 12:42:15 -07:00
querystring.js querystring: use String.prototype.split's limit 2016-01-31 17:30:06 +01:00
readline.js readline: Remove XXX and output debuglog 2016-01-18 07:57:55 -08:00
repl.js repl: remove variable redeclaration 2016-02-01 08:41:46 -08:00
stream.js lib,src: remove usage of events.EventEmitter 2015-09-23 00:23:08 +05:30
string_decoder.js lib: remove string_decoder.js var redeclarations 2016-02-01 08:43:40 -08:00
sys.js util: introduce printDeprecationMessage function 2015-06-04 10:59:43 +03:00
timers.js tools: lint for spacing around unary operators 2016-02-04 10:56:17 -08:00
tls.js lib,test: remove extra semicolons 2016-01-16 19:54:25 +01:00
tty.js lib: remove unused modules 2015-12-25 13:05:23 -08:00
url.js url: change scoping of variables with let 2016-01-27 14:54:50 -08:00
util.js lib: scope loop variables 2016-02-01 09:28:38 -08:00
v8.js v8,src: expose statistics about heap spaces 2016-01-18 11:44:00 -05:00
vm.js lib: reduce util.is*() usage 2015-01-31 23:47:29 -05:00
zlib.js zlib: only apply drain listener if given callback 2015-11-14 08:11:28 -08:00