Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: use random ports where possible #7697

Closed
wants to merge 1,622 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1622 commits
Select commit Hold shift + click to select a range
0860758
src: remove unused TickInfo::in_tick()
trevnorris Feb 10, 2016
a2f17f1
src: remove TryCatch in MakeCallback
trevnorris Feb 11, 2016
8fbc8ff
test: add addons test for MakeCallback
trevnorris Jan 6, 2016
7cea165
src: remove unnecessary check
mscdex Feb 15, 2016
ee0d0d5
async_wrap: add uid to all asyncWrap hooks
AndreasMadsen Jan 9, 2016
52fa514
async_wrap: make uid the first argument in init
AndreasMadsen Jan 9, 2016
9940e15
async_wrap: add parent uid to init hook
AndreasMadsen Jan 20, 2016
68d42c8
http_parser: use `MakeCallback`
trevnorris Feb 19, 2016
534e199
src,http: fix uncaughtException miss in http
trevnorris Mar 4, 2016
6084a7c
src,http_parser: remove KickNextTick call
trevnorris Mar 11, 2016
4700cda
src: reword command and add ternary
trevnorris Mar 23, 2016
9369f92
async_wrap: setupHooks now accepts object
trevnorris Feb 22, 2016
ff60886
async_wrap: notify post if intercepted exception
trevnorris Feb 23, 2016
505e9b6
async_wrap: don't abort on callback exception
trevnorris Mar 14, 2016
f14d9cf
async_wrap: pass uid to JS as double
trevnorris Jun 1, 2016
c7c5a78
tls,https: respect address family when connecting
bnoordhuis May 9, 2016
8cbcea0
test: use strictEqual consistently in agent test
bnoordhuis May 28, 2016
ceb1377
debugger: propagate --debug-port= to debuggee
bnoordhuis Oct 21, 2015
739d83f
test: work around debugger not killing inferior
bnoordhuis May 28, 2016
48949fb
build: enable compilation for linuxOne
mhdawson Mar 28, 2016
5f9110e
test: run v8 tests from node tree
exinfinitum Mar 28, 2015
c6fab00
deps: backport 9c927d0f01 from V8 upstream
MylesBorins Jun 28, 2016
72de1ce
tools: explicit path for V8 test tap output
Jun 28, 2016
395f4be
zlib: release callback and buffer after processing
mdlavin May 24, 2016
73ceb7c
vm: don't abort process when stack space runs out
addaleax May 20, 2016
5ba807a
module: don't cache uninitialized builtins
addaleax May 20, 2016
5cf3845
deps: backport e7cc609 from upstream V8
ofrobots Jun 15, 2016
e319d76
deps: fix segfault during gc
ofrobots Jun 15, 2016
9ac3971
child_process: emit IPC messages on next tick
cjihrig May 20, 2016
8293968
test: verify IPC messages are emitted on next tick
santigimeno May 21, 2016
8aba411
cluster: close ownerless handles on disconnect()
cjihrig May 23, 2016
9532dd8
util: improve util.format performance
evanlucas Feb 22, 2016
34dc1cd
util: improve format() performance further
mscdex Feb 23, 2016
74dce1b
test: test cluster worker disconnection on error
santigimeno May 23, 2016
6db4dab
build: split CI rules in Makefile
joaocgreis Jun 15, 2016
36a7034
deps: update to http-parser 2.7.0
indutny Jun 8, 2016
a5d5d02
http: skip body and next message of CONNECT res
indutny Apr 19, 2016
fb88542
test: add test for responses to HTTP CONNECT req
slushie Apr 19, 2016
a27eeab
buffer: backport --zero-fill-buffers cli option
jasnell Mar 16, 2016
fb5b27f
backport 4747, rename .markdown
eljefedelrodeodeljefe Jul 1, 2016
1ccbef7
win,build: add creation of zip and 7z package
bzoz Mar 24, 2016
d5a4a1f
test,win: skip addons/load-long-path on WOW64
orangemocha Jul 8, 2016
ee2f08f
buffer: ignore negative allocation lengths
addaleax May 29, 2016
b4a2791
buffer: backport new buffer constructor APIs to v4.x
ChALkeR Jun 19, 2016
22bb7ca
deps: backport 22c5e46 from V8
Jul 6, 2016
6d78caf
doc: note that process.config can and will be changed
jasnell Apr 19, 2016
5534583
src: add process.binding('config')
jasnell Apr 19, 2016
9ab72a9
tls: use process.binding('config') to detect fips mode
jasnell Jul 5, 2016
af9bbf5
deps: upgrade libuv to 1.9.0
saghul Apr 1, 2016
45bbe0a
deps: upgrade libuv to 1.9.1
saghul May 16, 2016
1488f7f
unix,stream: fix getting the correct fd for a handle
saghul May 18, 2016
e351f64
tty: use blocking mode on OS X
Fishrock123 May 20, 2016
6c1904b
udp: use libuv API to get file descriptor
saghul May 20, 2016
244b0b5
test: test TTY problems by fakeing a TTY using openpty
Fishrock123 May 20, 2016
2e4fb99
src: add node::FreeEnvironment public API
zcbenz Sep 28, 2015
303173c
doc: add vm example, be able to require modules
eljefedelrodeodeljefe Apr 21, 2016
1aa9c31
repl: copying tabs shouldn't trigger completion
ghaiklor May 13, 2016
6b4b6cb
doc: document socket.destroyed
tusharmath Apr 9, 2016
323e9cd
assert: allow circular references
Trott Apr 27, 2016
bf7c904
test: add tests for stream3 buffering using cork
alexjeffburke May 12, 2016
2c6c3ed
test: avoid test-cluster-master-* flakiness
stefanmb May 2, 2016
c1b62eb
test: unmark test-http-regr-gh-2928 as flaky
Trott May 3, 2016
4e86a88
doc: Add resolveNaptr and naptr rrtype docs
doug-wade May 5, 2016
d370d42
test: make stdout buffer test more robust
Trott May 7, 2016
586997e
test: pass python path to node-gyp
hefangshi May 9, 2016
c88cd43
doc: server.listen truncates socket path on unix
jeanregisser May 9, 2016
a0c2539
tools: print stderr on bad test.py `vmArch` check
Fishrock123 May 16, 2016
2a0ae10
build: unbreak configure with python 2.6
bnoordhuis May 19, 2016
76ceea3
installer: don't install node_internals.h
bnoordhuis May 21, 2016
4ab3427
test: fix component printing on windows
bnoordhuis May 21, 2016
6067f91
src: fix Windows segfault with `--eval`
May 23, 2016
583e5f1
child_process: allow buffer encoding in spawnSync
cjihrig May 23, 2016
083888f
test: refactor spawnSync() cwd test
cjihrig May 23, 2016
dbf3b20
doc: specify how to link issues in commit log
lpinca Jun 5, 2016
a3e7486
doc: remove cluster.setupMaster() myth
cjihrig Jun 6, 2016
e7cdd0b
http: fix no dumping after `maybeReadMore`
indutny Jun 4, 2016
6e546c8
doc,dgram: fix addMembership documentation
santigimeno Jun 9, 2016
40ef0f6
doc: update build instructions for Windows
joaocgreis Jun 13, 2016
0e6f4f7
test: listen on and connect to 127.0.0.1
bnoordhuis Jul 2, 2016
fc34e9a
benchmark: add util.format benchmark
evanlucas Feb 22, 2016
8789b61
Add CTC meeting minutes for 2016-05-04
mhdawson May 4, 2016
88dc7bf
doc: add bmeck to collaborators
bmeck May 25, 2016
3807e02
doc: add firedfox to collaborators
firedfox May 24, 2016
a4043ce
cluster: guard against undefined message handlers
cjihrig May 20, 2016
d41d9a3
doc: add yorkie to collaborators
yorkie May 26, 2016
cab5132
test: verify cluster worker exit
cjihrig May 26, 2016
94a2d36
doc: clarified use of sexual language in the CoC
nebrius May 25, 2016
d3957d7
doc: improve `server.address()` doc text
Trott May 26, 2016
712551c
doc: improve server.listen() documentation prose
Trott May 26, 2016
8914fc6
doc: add info on what's used for fswatch on AIX
mhdawson May 18, 2016
ed586ec
test: remove modifcation to common.PORT
Trott May 26, 2016
26fe304
doc: update labels and CI info in onboarding doc
Trott May 26, 2016
64d5e67
doc: fix typos in WORKING_GROUPS.md
joaosa May 28, 2016
6e99a4a
doc: improve debugger doc prose
Trott May 26, 2016
e3b38a7
test: fix test-debug-port-numbers on OS X
santigimeno May 29, 2016
2dd0a2d
doc,test: add `How to write a Node.js test` guide
santigimeno May 26, 2016
31aded7
test: remove `common.PORT` from gc tests
Trott May 27, 2016
4829142
cluster: rewrite debug ports consistently
cjihrig May 29, 2016
ef8cb6a
test: remove non-incremental common.PORT changes
Trott May 29, 2016
52bc92e
Add CII Best Practices badge to README.md
david-a-wheeler May 17, 2016
7677ace
test: remove disabled eio race test
Trott May 31, 2016
09b4cd1
benchmark: add benchmark for Buffer.concat
addaleax May 29, 2016
2928a4f
doc: fix header depth of util.isSymbol
jasnell Jun 3, 2016
b6632a7
test: improve debug-break-on-uncaught reliability
Trott May 16, 2016
ad702bc
child_process: measure buffer length in bytes
Trott May 14, 2016
a96c461
http: wait for both prefinish/end to keepalive
indutny Jun 4, 2016
3ffbb27
test: make test-child-process-fork-net more robust
Trott May 28, 2016
ecdfcd7
test: add test for uid/gid setting in spawn
Trott May 31, 2016
da867ec
doc: fix events typo
greysonp Jun 17, 2016
912e364
doc: add internal link in GOVERNANCE.md
Trott Jun 12, 2016
a790d52
test: enable test-debug-brk-no-arg
Trott Jun 3, 2016
0a8b110
test: fix spawn on windows
mscdex May 29, 2016
9e7ddbc
doc: fix IRC link
imyller Jun 8, 2016
81e44f7
doc: clarify use of `0` port value
Trott Jun 7, 2016
b8defaf
doc: use `Buffer.byteLength` for Content-Length
kimown Jun 12, 2016
c6f7146
tools: fix license builder to work with icu-small
Jun 3, 2016
75b6ba6
benchmark: add benchmark for url.format()
Trott Jun 9, 2016
a852a44
test: add tests for some stream.Readable uses
addaleax Jun 10, 2016
e196ff7
debugger: remove obsolete setTimeout
Trott Jun 4, 2016
b0b8b71
doc: fixing minor typo in AtExit hooks section
danbev Jun 29, 2016
a27cbec
test: mark test-vm-timeout flaky on windows
Trott Jun 22, 2016
714c83f
doc: add RReverser to collaborators
RReverser Jun 22, 2016
bc02767
doc: mention http request "aborted" events
kemitchell Jun 10, 2016
be8b3b3
doc: update "who to cc in issues" chart
Fishrock123 May 11, 2016
c66170b
doc: add lance to collaborators
lance Jun 24, 2016
e82ad53
doc: add CTC meeting minutes 2016-06-15
joshgav Jun 16, 2016
e9585d2
repl: fix tab completion for defined commands
princejwesley Jun 22, 2016
b17a58c
doc: clarify child_process stdout/stderr types
sartrey Jun 22, 2016
e1751ae
doc: fix "sign.verify" typo in crypto doc.
rus0000 Jun 24, 2016
a784e95
assert: remove unneeded arguments special handling
Trott Jun 24, 2016
9fc8528
doc: improve usage of `zero`/`0`
Trott Jun 28, 2016
cf90bab
test: remove common.PORT from http tests
Trott Jun 29, 2016
f64c9b6
doc: fix detached child stdio example
cjihrig Jul 5, 2016
cc2b3b7
doc: add bartosz sosnowski to colaborators
bzoz Jul 6, 2016
d749147
doc: fix minor style issues in http.md
Trott Jul 4, 2016
a037e5e
test: fix flaky test-net-write-slow
Trott Jul 6, 2016
f647f9a
doc: added information on how to run the linter.
diosney Jul 4, 2016
50a30aa
doc: add benchmark who-to-CC info
Trott Jul 8, 2016
91c3c7c
doc: dns.resolve fix callback argument description
qheaden Jul 4, 2016
ad7bbb4
tools: remove unused variable
Trott Jul 7, 2016
33b92b3
test: remove unused var in test-tls-server-verify
Trott Jul 7, 2016
46df34a
test: remove unused var from child-process-fork
Trott Jul 7, 2016
4aa091a
test: remove unused var from stream2 test
Trott Jul 7, 2016
500f57e
test: remove unused var in net-server-try-ports
Trott Jul 7, 2016
3a3247b
benchmark: remove unused variables
Trott Jul 7, 2016
2228c8f
test: remove unused vars from http/https tests
Trott Jul 7, 2016
703b5c4
tools: update ESLint, fix unused vars bug
Trott Jul 7, 2016
3cbc5cb
test: update weak module for gc tests
Trott May 27, 2016
8427ffc
test: test isFullWidthCodePoint with invalid input
Trott Jun 25, 2016
7a8fc1f
doc: fix cluster worker 'message' event
cjihrig Jun 15, 2016
8a13abf
src: remove unused #include statement
bnoordhuis May 4, 2016
f9677bb
src: don't use locale-sensitive strcasecmp()
bnoordhuis May 4, 2016
de6eb6f
tools: update certdata.txt
bnoordhuis Jun 22, 2016
9dde731
crypto: update root certificates
bnoordhuis Jun 22, 2016
d6fd1e2
test: remove internet/test-tls-connnect-cnnic
bnoordhuis Jun 23, 2016
58a0ad5
src: check uv_async_init() return value
bnoordhuis Jun 22, 2016
86a4d0a
src: guard against starting fs watcher twice
bnoordhuis Jun 22, 2016
8f450d7
src: remove unused data member write_queue_size_
bnoordhuis Jun 22, 2016
25c8ce0
src: remove unused md_ data members
bnoordhuis Jun 22, 2016
04be5f4
src: remove duplicate HMAC_Init calls
bnoordhuis Jun 22, 2016
5ac3ede
src: remove deprecated HMAC_Init, use HMAC_Init_ex
bnoordhuis Jun 22, 2016
fd91d34
src: fix use-after-return in zlib bindings
bnoordhuis Jun 22, 2016
a6cdb28
src: fix bad logic in uid/gid checks
bnoordhuis Jun 22, 2016
f711650
tls: catch `certCbDone` exceptions
indutny May 20, 2016
dfba60e
build: add v8 requirement to test-v8* in Makefile
targos Jun 29, 2016
d7f7795
build: use BUILDTYPE when building V8 in Makefile
targos Jun 30, 2016
91001cc
test: add test for exec() known issue
Trott Jun 22, 2016
8029ddd
Revert "child_process: measure buffer length in bytes"
Trott Jun 22, 2016
4e6cbde
child_process: preserve argument type
Trott Jun 23, 2016
c7a3424
cluster: don't send messages if no IPC channel
santigimeno May 31, 2016
27222f4
cluster: reset handle index on close
santigimeno May 25, 2016
957505a
buffer: fix dataview-set benchmark
RReverser May 22, 2016
07f1bb1
vm: don't print out arrow message for custom error
addaleax Jun 24, 2016
f886b01
src: fix sporadic deadlock in SIGUSR1 handler
bnoordhuis Mar 25, 2016
24938b6
src: unify implementations of Utf8Value etc.
addaleax Apr 23, 2016
8df2327
tools: update cpplint to r456
bnoordhuis Jun 28, 2016
ba20ae3
tools: disable unwanted cpplint rules again
bnoordhuis Jun 28, 2016
aa7a21d
tools: add back --mode=tap to cpplint
bnoordhuis Jun 28, 2016
e474c1c
tools: allow cpplint to run outside git repo
bnoordhuis Jun 28, 2016
35d688d
src: fix build/c++tr1 cpplint warnings
bnoordhuis Jun 28, 2016
f99abe8
src: fix build/header_guard cpplint warnings
bnoordhuis Jun 28, 2016
6edbd26
src: fix readability/braces cpplint warnings
bnoordhuis Jun 28, 2016
895d09c
src: fix readability/constructors cpplint warnings
bnoordhuis Jun 28, 2016
13d4c82
src: fix readability/inheritance cpplint warnings
bnoordhuis Jun 28, 2016
7b99b08
src: fix readability/namespace cpplint warnings
bnoordhuis Jun 28, 2016
44dec5a
src: fix readability/nolint cpplint warnings
bnoordhuis Jun 28, 2016
4a0f4ca
src: fix runtime/indentation_namespace warnings
bnoordhuis Jun 28, 2016
120a2bf
src: fix runtime/int cpplint warnings
bnoordhuis Jun 28, 2016
579095f
src: fix runtime/references cpplint warnings
bnoordhuis Jun 28, 2016
f472e1e
src: fix whitespace/blank_line cpplint warnings
bnoordhuis Jun 28, 2016
6137aa0
src: fix whitespace/indent cpplint warnings
bnoordhuis Jun 28, 2016
eef5d6b
build: remove unused files from CPPLINT_FILES
bnoordhuis Jun 28, 2016
18010f0
src: lint node_win32_perfctr_provider.cc
bnoordhuis Jun 28, 2016
e5c1d79
src: lint node_lttng_tp.h
bnoordhuis Jun 28, 2016
bd1e1e9
src: lint v8abbr.h
bnoordhuis Jun 28, 2016
b004800
tools: fix -Wunused-variable warning
bnoordhuis Jun 28, 2016
537b48c
src: remove obsolete NOLINT comments
bnoordhuis Jun 28, 2016
6aa1511
src: fix memory leak in WriteBuffers() error path
bnoordhuis Jun 22, 2016
2b18ab4
test: fix flaky test-vm-timeout
addaleax Jun 22, 2016
23a5164
Revert "test: mark test-vm-timeout flaky on windows"
addaleax Jun 22, 2016
c645b6d
doc: add `added:` information for assert
Trott May 11, 2016
c5b995c
doc: add `added:` information for child_process
addaleax May 23, 2016
d09c396
doc: add `added: ` data for cli.md
Trott May 25, 2016
1aa1938
doc: add `added:` information for console
edsadr May 26, 2016
159c76b
doc: add `added:` information for dns
julianduque May 27, 2016
be64a9c
doc: add `added:` information for https
addaleax Jun 23, 2016
664dc3b
doc: add `added` information for net
italoacasas Jun 3, 2016
528f3de
doc: add `added:` information for os
bengl May 6, 2016
d2c090f
doc: add `added:` information for path
julianduque May 26, 2016
52f1012
doc: add `added:` information for punycode
firedfox May 17, 2016
e9da7de
doc: add `added:` information for querystring
bengl May 5, 2016
a3b5ba5
doc: add `added:` information for readline
julianduque May 26, 2016
3c49146
doc: add `added:` information for repl
addaleax Jun 10, 2016
0f617c7
doc: add `added:` info for `string_decoder`
Trott May 13, 2016
35371f3
doc: add `added:` in for `tty`
Trott May 16, 2016
40e4dac
doc: add `added:` information for url
bengl May 5, 2016
effe930
doc: add `added:` information for v8
Trott May 11, 2016
c64288e
doc: add `added:` information for vm
addaleax May 27, 2016
525651a
doc: add `added:` information for zlib
addaleax May 18, 2016
622929f
doc: add `added:` information for timers
addaleax Jun 30, 2016
dcbbf99
doc: adds 'close' events to fs.ReadStream and fs.WriteStream
May 1, 2016
d8f22f1
doc: add `added:` information for fs
addaleax May 12, 2016
38330ca
doc: correct `added:` information for fs.access
richardlau Jun 14, 2016
81c7c74
doc: add `added:` information for tls
italoacasas May 27, 2016
1511f73
doc: add `added:` information for process
bengl May 5, 2016
4d96bba
doc: remove superfluos backticks in process.md
addaleax Jul 12, 2016
4be64bf
doc: add information for IncomingMessage.destroy()
Trott Jun 8, 2016
ee66296
doc: add `added:` information for http
addaleax Jun 23, 2016
cf43254
doc: buffers are not sent over IPC with a socket
Jul 12, 2016
ce8dbbb
doc: add `added:` information for buffer
addaleax May 1, 2016
b064daa
tools: add mock-y js-yaml dependency to doctool
addaleax May 1, 2016
f6b5db6
tools: parse documentation metadata
tflanagan Nov 14, 2015
de131cb
test,tools: test yaml parsing of doctool
addaleax Apr 30, 2016
cab73be
tools: allow multiple added: version entries
addaleax Apr 30, 2016
fcb2735
tools: update marked dependency
firedfox Apr 25, 2016
246b3a6
tools: lint for object literal spacing
Trott May 5, 2016
5d7f7e7
test: build addons with V8_DEPRECATION_WARNINGS=1
bnoordhuis May 9, 2016
ee5e3d0
doc: fix deprecation warnings in addon examples
bnoordhuis May 9, 2016
1dee4b3
build,test: fix build-addons dependency chain
bnoordhuis May 9, 2016
eb53ff3
tools: fix tools/doc/addon-verify.js regression
addaleax May 9, 2016
271c461
build: add Make `doc-only` target
jmm Nov 18, 2015
3a3fe5d
tools: fix regression in doctool
May 10, 2016
1c6591e
test: refactor doctool tests
Trott May 12, 2016
ddb7ca1
tools: restore change of signatures to opts hashes
jmm May 10, 2016
0b4ad5a
tools: make sure doctool anchors respect includes
addaleax May 23, 2016
768ba7a
tools,doc: add example usage for REPLACEME tag
addaleax May 19, 2016
305c9ed
build: add REPLACEME tag for version info in docs
bnoordhuis May 13, 2016
5b474ef
test: skip doctool tests when js-yaml is missing
addaleax Jun 8, 2016
a11d8e1
doc: make doc-only -> fallback to user binary
eljefedelrodeodeljefe May 20, 2016
55e2594
test: use random ports where possible
mscdex May 29, 2016
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
39 changes: 39 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
root = true

[*]
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true

[vcbuild.bat]
end_of_line = crlf

[*.{md,markdown}]
trim_trailing_whitespace = false

[{lib,src,test}/**.js]
indent_style = space
indent_size = 2

[src/**.{h,cc}]
indent_style = space
indent_size = 2

[test/*.py]
indent_style = space
indent_size = 2

[configure]
indent_style = space
indent_size = 2

[Makefile]
indent_style = tab
indent_size = 8

[{deps,tools}/**]
indent_style = ignore
indent_size = ignore
end_of_line = ignore
trim_trailing_whitespace = ignore
charset = ignore
4 changes: 3 additions & 1 deletion .eslintignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
lib/internal/v8_prof_polyfill.js
lib/punycode.js
test/addons/doc-*/
test/addons/??_*/
test/fixtures
test/**/node_modules
test/disabled
test/tmp*/
tools/doc/node_modules
129 changes: 68 additions & 61 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -1,86 +1,95 @@
env:
node: true

# enable ECMAScript features
ecmaFeatures:
blockBindings: true
templateStrings: true
octalLiterals: true
binaryLiterals: true
generators: true
forOf: true
objectLiteralShorthandProperties: true
objectLiteralShorthandMethods: true
classes: true
es6: true

rules:
# Possible Errors
# list: https://github.com/eslint/eslint/tree/master/docs/rules#possible-errors
## check debugger sentence
# http://eslint.org/docs/rules/#possible-errors
comma-dangle: [2, "only-multiline"]
no-control-regex: 2
no-debugger: 2
## check duplicate arguments
no-dupe-args: 2
## check duplicate object keys
no-dupe-keys: 2
## check duplicate switch-case
no-duplicate-case: 2
## disallow assignment of exceptional params
no-empty-character-class: 2
no-ex-assign: 2
## disallow use of reserved words as keys like enum, class
no-reserved-keys: 2
## disallow unreachable code
no-extra-boolean-cast: 2
no-extra-parens: [2, "functions"]
no-extra-semi: 2
no-func-assign: 2
no-invalid-regexp: 2
no-irregular-whitespace: 2
no-negated-in-lhs: 2
no-obj-calls: 2
no-proto: 2
no-unexpected-multiline: 2
no-unreachable: 2
## require valid typeof compared string like typeof foo === 'strnig'
use-isnan: 2
valid-typeof: 2

# Best Practices
# list: https://github.com/eslint/eslint/tree/master/docs/rules#best-practices
## require falls through comment on switch-case
# http://eslint.org/docs/rules/#best-practices
no-fallthrough: 2
no-octal: 2
no-redeclare: 2
no-self-assign: 2
no-unused-labels: 2

# Strict Mode
# http://eslint.org/docs/rules/#strict-mode
strict: [2, "global"]

# Variables
# http://eslint.org/docs/rules/#variables
no-delete-var: 2
no-undef: 2
no-unused-vars: [2, {"args": "none"}]

# Node.js and CommonJS
# http://eslint.org/docs/rules/#nodejs-and-commonjs
no-mixed-requires: 2
no-new-require: 2
no-path-concat: 2
no-restricted-modules: [2, "sys", "_linklist"]

# Stylistic Issues
# list: https://github.com/eslint/eslint/tree/master/docs/rules#stylistic-issues
## use single quote, we can use double quote when escape chars
quotes: [2, "single", "avoid-escape"]
## 2 space indentation
indent: [2, 2]
## add space after comma
# http://eslint.org/docs/rules/#stylistic-issues
comma-spacing: 2
## put semi-colon
semi: 2
## require spaces operator like var sum = 1 + 1;
space-infix-ops: 2
## require spaces return, throw, case
space-return-throw-case: 2
## no space before function, eg. 'function()'
space-before-function-paren: [2, "never"]
## require space before blocks, eg 'function() {'
space-before-blocks: [2, "always"]
## require parens for Constructor
new-parens: 2
## max 80 length
eol-last: 2
indent: [2, 2, {SwitchCase: 1}]
key-spacing: [2, {mode: "minimum"}]
keyword-spacing: 2
max-len: [2, 80, 2]
## max 2 consecutive empty lines
new-parens: 2
no-mixed-spaces-and-tabs: 2
no-multiple-empty-lines: [2, {max: 2}]
## require newline at end of files
eol-last: 2
## no trailing spaces
no-trailing-spaces: 2
# require space after keywords, eg 'for (..)'
space-after-keywords: 2

# Strict Mode
# list: https://github.com/eslint/eslint/tree/master/docs/rules#strict-mode
## 'use strict' on top
strict: [2, "global"]
quotes: [2, "single", "avoid-escape"]
semi: 2
space-before-blocks: [2, "always"]
space-before-function-paren: [2, "never"]
space-in-parens: [2, "never"]
space-infix-ops: 2
space-unary-ops: 2

# Variables
# list: https://github.com/eslint/eslint/tree/master/docs/rules#variables
## disallow use of undefined variables (globals)
no-undef: 2
# ECMAScript 6
# http://eslint.org/docs/rules/#ecmascript-6
arrow-parens: [2, "always"]
arrow-spacing: [2, {"before": true, "after": true}]
constructor-super: 2
no-class-assign: 2
no-confusing-arrow: 2
no-const-assign: 2
no-dupe-class-members: 2
no-new-symbol: 2
no-this-before-super: 2
prefer-const: 2

# Custom rules in tools/eslint-rules
require-buffer: 2
align-function-arguments: 2
align-multiline-assignment: 2
assert-fail-single-argument: 2
new-with-error: [2, "Error", "RangeError", "TypeError", "SyntaxError", "ReferenceError"]

# Global scoped method and vars
globals:
Expand All @@ -102,5 +111,3 @@ globals:
DTRACE_NET_SERVER_CONNECTION : false
LTTNG_NET_SERVER_CONNECTION : false
COUNTER_NET_SERVER_CONNECTION : false
escape : false
unescape : false
10 changes: 8 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ icu_config.gypi

# various stuff that VC++ produces/uses
Debug/
!node_modules/debug/
!**/node_modules/debug/
Release/
!doc/blog/**
*.sln
Expand All @@ -40,16 +40,19 @@ _UpgradeReport_Files/
ipch/
*.sdf
*.opensdf
*.VC.opendb
.vs/

/config.mk
/config.gypi
/config_fips.gypi
*-nodegyp*
/gyp-mac-tool
/dist-osx
/npm.wxs
/tools/msvs/npm.wixobj
/tools/osx-pkg.pmdoc/index.xml
/test/addons/doc-*/
/test/addons/??_*/
email.md
deps/v8-*
deps/icu
Expand All @@ -71,6 +74,9 @@ deps/openssl/openssl.xml
deps/openssl/openssl.target.mk
deps/zlib/zlib.target.mk

# not needed and causes issues for distro packagers
deps/npm/node_modules/.bin/

# build/release artifacts
/*.tar.*
/SHASUMS*.txt*
Expand Down
26 changes: 26 additions & 0 deletions .mailmap
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ Alexey Kupershtokh <[email protected]> <[email protected]>
Alexis Campailla <[email protected]> <[email protected]>
Alexis Sellier <[email protected]>
Alexis Sellier <[email protected]> <[email protected]>
Andy Bettisworth <[email protected]>
Aria Stewart <[email protected]> <[email protected]>
Arlo Breault <[email protected]>
Artem Zaytsev <[email protected]>
Expand All @@ -19,14 +20,20 @@ Bert Belder <[email protected]> <[email protected]>
Brandon Benvie <[email protected]> <[email protected]>
Brian White <[email protected]>
Brian White <[email protected]> <[email protected]>
Caleb Boyd <[email protected]>
Charles <[email protected]> <[email protected]>
Chew Choon Keat <[email protected]>
Charles Rudolph <[email protected]>
Claudio Rodriguez <[email protected]> <[email protected]>
Colin Ihrig <[email protected]>
Christopher Lenz <[email protected]> <[email protected]>
Dan Kaplun <[email protected]> <[email protected]>
Daniel Berger <[email protected]>
Daniel Chcouri <[email protected]>
Daniel Gröber <[email protected]>
Daniel Gröber <[email protected]> <[email protected]>
Daniel Pihlström <[email protected]>
Danny Nemer <[email protected]> <[email protected]>
Dave Pacheco <[email protected]> <[email protected]>
David Siegel <[email protected]> <[email protected]>
Domenic Denicola <[email protected]>
Expand All @@ -36,6 +43,8 @@ Einar Otto Stangvik <[email protected]>
Elliott Cable <[email protected]>
EungJun Yi <[email protected]>
Evan Larkin <evan.larkin.il.com> <[email protected]>
Evan Lucas <[email protected]> <[email protected]>
Evan Lucas <[email protected]> <[email protected]>
Farid Neshat <[email protected]>
Fedor Indutny <[email protected]> <[email protected]>
Felix Böhm <[email protected]> <[email protected]>
Expand All @@ -47,25 +56,33 @@ Gabriel de Perthuis <[email protected]>
Gil Pedersen <[email protected]> <[email protected]>
Henry Chin <[email protected]>
Herbert Vojčík <[email protected]>
Icer Liang <[email protected]> <[email protected]>
Igor Soarez <[email protected]>
Igor Zinkovsky <[email protected]>
Isaac Z. Schlueter <[email protected]>
Isaac Z. Schlueter <[email protected]> <[email protected]>
Jake Verbaten <[email protected]>
James Hartig <[email protected]> <[email protected]>
Jan Krems <[email protected]> <[email protected]>
Jered Schmidt <[email protected]>
Jeremiah Senkpiel <[email protected]>
Jerry Chin <[email protected]>
Joe Shaw <[email protected]> <[email protected]>
Johan Bergström <[email protected]>
Johan Dahlberg <[email protected]> <[email protected]>
Johann Hofmann <[email protected]>
Jonas Pfenniger <[email protected]> <[email protected]>
Jonathan Ong <[email protected]> <[email protected]>
Jonathan Persson <[email protected]> <[email protected]>
Jonathan Rentzsch <[email protected]>
Josh Erickson <[email protected]>
Joshua S. Weinstein <[email protected]>
Junliang Yan <[email protected]>
Junliang Yan <[email protected]> <[email protected]>
Jérémy Lal <[email protected]>
Jérémy Lal <[email protected]> <[email protected]>
Kai Sasaki Lewuathe <[email protected]>
Karl Skomski <[email protected]> <[email protected]>
Kazuyuki Yamada <[email protected]>
Keith M Wesolowski <[email protected]> <[email protected]>
Kelsey Breseman <[email protected]>
Expand All @@ -76,6 +93,10 @@ Luke Bayes <[email protected]>
Maciej Małecki <[email protected]> <[email protected]>
Malte-Thorben Bruns <[email protected]>
Malte-Thorben Bruns <[email protected]>
Marcin Cieślak <[email protected]>
Marcin Cieślak <[email protected]> <[email protected]>
Marti Martz <[email protected]>
Martial James Jefferson <[email protected]>
Mathias Pettersson <[email protected]>
Matthew Lye <[email protected]>
Michael Bernstein <[email protected]>
Expand All @@ -90,16 +111,20 @@ Nicholas Kinsey <[email protected]>
Nikolai Vavilov <[email protected]>
Onne Gorter <[email protected]>
Paul Querna <[email protected]> <[email protected]>
Peter Flannery <[email protected]>
Phillip Johnsen <[email protected]> <[email protected]>
Ray Morgan <[email protected]>
Ray Solomon <[email protected]>
Raymond Feng <[email protected]> <[email protected]>
Rick Olson <[email protected]>
Roman Klauke <[email protected]> <[email protected]>
Roman Reiss <[email protected]>
Ron Korving <[email protected]>
Ryan Dahl <[email protected]>
Ryan Emery <[email protected]>
Sakthipriyan Vairamani <[email protected]>
Sam Mikes <[email protected]>
Sam P Gallagher-Bishop <[email protected]> <[email protected]>
Sam Shull <[email protected]> <[email protected]>
Sam Shull <[email protected]> <[email protected]>
Sambasiva Suda <[email protected]>
Expand All @@ -121,6 +146,7 @@ Tadashi SAWADA <[email protected]>
Takahiro ANDO <[email protected]>
Ted Young <[email protected]>
Thomas Lee <[email protected]> <[email protected]>
Thomas Reggi <[email protected]>
Tim Caswell <[email protected]> <[email protected]>
Tim Price <[email protected]>
Tim Smart <[email protected]> <[email protected]>
Expand Down
Loading