0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00
nodejs/lib
Michaël Zasso 4d11c2ce5c lib,test: use consistent operator linebreak style
We have a tacit rule that for multiline statements, the operator should
be placed before the linebreak. This commit commit fixes the few
violations of this rule in the code base.
This allows us to enable the corresponding ESLint rule.

PR-URL: https://github.com/nodejs/node/pull/10178
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Roman Reiss <me@silverwind.io>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Teddy Katz <teddy.katz@gmail.com>
Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
2016-12-10 10:46:42 +01:00
..
internal url: improve URLSearchParams spec compliance 2016-12-07 12:19:23 -05:00
_debug_agent.js debugger: use arrow function for lexical this 2016-08-18 16:44:38 -07:00
_debugger.js debugger: call this.resume() after this.run() 2016-12-05 14:25:39 -05:00
_http_agent.js http: name anonymous functions 2016-10-18 15:29:38 -07:00
_http_client.js http: remove stale timeout listeners 2016-12-08 16:05:22 -05:00
_http_common.js http: fix connection upgrade checks 2016-08-26 10:17:34 -04:00
_http_incoming.js http: name anonymous functions in _http_incoming 2016-10-18 15:38:36 -07:00
_http_outgoing.js http: add debug message for invalid header value 2016-10-28 09:19:17 -07:00
_http_server.js lib: use === in _http_server and _tls_wrap 2016-12-02 19:36:38 -06:00
_linklist.js lib: use emitWarning instead of printDeprecationMessage 2016-09-02 13:15:22 -07:00
_stream_duplex.js node: allow multiple arguments passed to nextTick 2015-04-15 17:02:21 -06:00
_stream_passthrough.js lib: use const to define constants 2015-01-21 16:21:31 -05:00
_stream_readable.js streams: fix regression in unpipe() 2016-10-19 14:00:02 +01:00
_stream_transform.js src: fixes misplaced comment 2016-09-30 09:47:09 -07:00
_stream_wrap.js test,lib,benchmark: match function names 2016-10-19 22:20:27 -07:00
_stream_writable.js test: writable stream ending state 2016-10-28 08:50:45 +02:00
_tls_common.js tls: improve createSecureContext in _tls_common 2016-09-28 09:15:27 +08:00
_tls_legacy.js test,lib,benchmark: match function names 2016-10-19 22:20:27 -07:00
_tls_wrap.js lib: use === in _http_server and _tls_wrap 2016-12-02 19:36:38 -06:00
.eslintrc tools: avoid let in for loops 2016-10-14 13:37:12 -07:00
assert.js assert: name anonymous functions 2016-10-19 08:57:20 -07:00
buffer.js buffer: convert offset & length to int properly 2016-12-05 18:15:49 +05:30
child_process.js child_process: name anonymous functions 2016-12-05 07:35:52 -08:00
cluster.js cluster: remove unused backlog argument 2016-10-03 12:34:46 +02:00
console.js console: name anonymous functions 2016-10-16 22:01:02 +02:00
constants.js constants: errors -> errno 2016-11-29 07:33:24 -05:00
crypto.js crypto: return this in setAuthTag/setAAD 2016-11-20 01:16:26 +01:00
dgram.js dgram: use Buffer.alloc(0) for zero-size buffers 2016-10-06 15:27:52 -07:00
dns.js dns: implement {ttl: true} for dns.resolve4() 2016-11-18 22:01:11 +01:00
domain.js test,lib,benchmark: match function names 2016-10-19 22:20:27 -07:00
events.js events: remove unnecessary checks 2016-10-31 15:51:57 -04:00
fs.js fs: export realpathCacheKey from internal/fs 2016-11-16 20:22:18 +01:00
http.js http: name anonymous functions in http 2016-10-18 15:38:43 -07:00
https.js https: name anonymous functions in https 2016-11-25 13:55:17 -05:00
module.js fs: export realpathCacheKey from internal/fs 2016-11-16 20:22:18 +01:00
net.js net: name anonymous functions 2016-11-01 23:40:44 +01:00
os.js os: deprecate tmpDir() in favour of tmpdir() 2016-06-30 14:52:13 +02:00
path.js path: fallback to process cwd when resolving drive cwd 2016-09-24 01:14:56 +03:00
process.js src: remove excessive license boilerplate 2015-01-27 16:35:05 +11:00
punycode.js lib: remove let from for loops 2016-10-04 12:17:32 -04:00
querystring.js benchmark,test,lib: remove extra spaces 2016-05-11 23:18:16 -07:00
readline.js readline: use icu based string width calculation 2016-10-25 09:00:45 -07:00
repl.js repl: avoid parsing division operator as regex 2016-12-06 02:26:24 -05:00
stream.js lib,src: remove usage of events.EventEmitter 2015-09-23 00:23:08 +05:30
string_decoder.js string_decoder: fix bad utf8 character handling 2016-06-23 23:18:10 -04:00
sys.js lib: use emitWarning instead of printDeprecationMessage 2016-09-02 13:15:22 -07:00
timers.js lib,test: use consistent operator linebreak style 2016-12-10 10:46:42 +01:00
tls.js lib: remove let from for loops 2016-10-04 12:17:32 -04:00
tty.js tty: set the handle to blocking mode 2016-08-10 23:41:28 +02:00
url.js url: add a got host pattern in url.js 2016-12-06 12:37:24 -08:00
util.js intl: Add more versions from ICU 2016-10-26 19:24:22 -07:00
v8.js src: extend HeapStatistics with new fields 2016-11-20 02:23:00 +01:00
vm.js vm: name anonymous functions 2016-11-06 20:18:56 +02:00
zlib.js zlib: fix linting recently-introduced lint error 2016-11-08 16:40:56 -08:00