Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
3085 commits
Select commit Hold shift + click to select a range
41a66bc
lib: changed var to const in bootstrap_node.js
Sep 17, 2016
99ab686
doc: clarify fs.utimes() arguments
Sep 18, 2016
daa0f90
test: changing equal to strictEqual in path
Sep 17, 2016
57b7e85
test: update test-cluster-disconnect-unshared-udp
Sep 17, 2016
efe4d19
inspector: report default context
Sep 12, 2016
1c81dd8
test: cleanup test-child-process-buffering.js
Sep 17, 2016
80620d8
test: cleanup test-tls-connect-given-socket.js
Sep 17, 2016
4019c32
test: cleanup test-child-process-exec-env.js
Sep 17, 2016
c775514
zlib: fix raw inflate with custom dictionary
Sep 20, 2016
2b5acda
zlib: tighten up dictionary tests
Sep 14, 2016
57a5136
test: improve test-child-process-stdout-flush
Sep 17, 2016
66dbd9c
test: update test-child-process-recv-handle
Sep 18, 2016
d469321
tools: add eslint rule prefer-assert-methods
Sep 17, 2016
d7994db
src: handle thrown errors in CopyProperties()
Sep 18, 2016
0bfd103
test: refactor test-dgram-bind-shared-ports.js
Sep 17, 2016
d4bf5ca
process: changed var to const in internal/process/promises
Sep 17, 2016
b176d30
dns: handle array holes in setServers()
Sep 16, 2016
c5ce7f4
doc: add ak239 to collaborators
Sep 20, 2016
db5a879
https: fix memory leak with https.request()
Sep 18, 2016
66df5d1
test: cleanup test-os.js
Sep 17, 2016
b1b1978
tools: add additional ESLint rules
Sep 18, 2016
b35f22b
doc: add eugeneo to collaborators
Sep 21, 2016
7b7d50a
tools: update remark configuration
Sep 15, 2016
d2eb7ce
src: Malloc/Calloc size 0 returns non-null pointer
Sep 17, 2016
ec02b81
deps: update V8 to 5.4.500.27
Sep 6, 2016
fbfc15c
build: update V8 gypfile paths
Jun 30, 2016
785506a
build: define icu_use_data_file_flag
Jul 25, 2016
7292a1e
build: use libc++ on OSX
Jul 22, 2016
2187bd3
tools: do not disable ICU's transliteration
Jun 30, 2016
19c9567
build: fix mkpeephole configuration
Aug 25, 2016
98241f4
build: do not clean V8 gtest directory
Aug 24, 2016
75242a2
src: no longer need to use std::tr1::
Aug 12, 2016
91b4094
deps: cherry-pick workaround for clang-3.4 ICE
Sep 12, 2016
d103970
deps: upgrade openssl sources to 1.0.2i
Sep 22, 2016
aec7ed9
deps: copy all openssl header files to include dir
Sep 22, 2016
da1d9bd
deps: fix openssl assembly error on ia32 win32
Jan 8, 2014
f427cac
deps: fix asm build error of openssl in x86_win32
Feb 13, 2015
ad0260a
openssl: fix keypress requirement in apps on win32
Feb 17, 2015
6a485bf
deps: add -no_rand_screen to openssl s_client
May 27, 2015
c17a1fe
deps: update openssl asm and asm_obsolete files
Sep 22, 2016
53835a2
test: remove openssl options of -no_<prot>
Sep 22, 2016
0a9f56a
test: fixup parallel/test-async-wrap-post-did-throw.js
Sep 17, 2016
3ddc9db
process: changed var to const in internal/v8_prof_processor
Sep 17, 2016
99f64f7
lib: changed var to const in internal/v8_polyfill
Sep 17, 2016
0718dd9
test: update test/parallel/test-fs-read.js
Sep 17, 2016
eb31c79
test: update test/parallel/test-child-process-send-utf8.js
Sep 17, 2016
9a6e253
src: remove unneeded ABORT after CHECK
Sep 17, 2016
070efb5
test: update test/parallel/test-eval.js
Sep 17, 2016
078bf68
test: update test/parallel/test-child-process-stdio.js
Sep 19, 2016
a67f11d
inspector: wait for both sides closing
Sep 12, 2016
e7d4176
doc: add CTC meeting minutes 2016-08-24
Sep 6, 2016
4d95872
test: cleanup stream tests
Sep 20, 2016
575077a
dns: tweak regex for IPv6 addresses
Sep 20, 2016
ba763e7
process: changed var to const in internal/process.js
Sep 17, 2016
fba5319
vm: add error message if we abort
Sep 17, 2016
adb3ca6
doc: standardize on `make -j8`
Sep 21, 2016
84eaa4a
src: remove unused StringValue macro parameters
Jul 28, 2016
0c64552
src: make ReqWrap req_ member private
Jul 24, 2016
d9a6d4a
test: remove call to `net.Socket.resume()`
Sep 21, 2016
dae5323
test: enable cyrillic punycode test case
Sep 21, 2016
c8d6107
src: remove VS 2013 compatibility hacks
Aug 11, 2016
a3f861d
build: remove VS 2013 switch from vcbuild.bat
Aug 11, 2016
a8d2c9d
fs: move stringToFlags() to lib/internal
Jun 5, 2016
782620f
src: add /json/protocol endpoint to inspector
Jun 29, 2016
5acbeb0
inspector: address race conditions
Sep 19, 2016
a5994f7
test: add tests for add/remove header after sent
Sep 20, 2016
5cb5b1f
src: don't abort when c-ares initialization fails
Sep 22, 2016
0f2f8ef
path: fallback to process cwd when resolving drive cwd
Sep 14, 2016
1b97774
fs: do not emit 'stop' watch event synchronously
Sep 6, 2016
66369d0
test: fix test-cluster-worker-init.js flakyness
Sep 21, 2016
92c1d96
doc: update BUILDING.md
Sep 21, 2016
c063502
test: cleanup vars to const and '==' to '==='
Sep 21, 2016
43e1ca8
test: add expectWarning to common
Sep 17, 2016
7458fbb
benchmark: add benchmark for destructuring object
Sep 21, 2016
6be43a9
src: rename handle__ to handle_ in HandleWrap
Sep 22, 2016
4f832eb
src: fix minor typo in comments
Sep 23, 2016
7f71419
doc: fix example in stream doc
Sep 2, 2016
d196c5d
test: skip cpu-intensive tests on slow hosts
Sep 19, 2016
50be885
tools: enable more remark-lint rules
Sep 20, 2016
c9b59e8
http: socket connection timeout for http request
Aug 31, 2016
eaa0806
doc,tool: add ref to Integer
Sep 23, 2016
86e3504
deps: upgrade openssl sources to 1.0.2j
Sep 26, 2016
21ee510
deps: copy all openssl header files to include dir
Sep 26, 2016
541a871
deps: fix openssl assembly error on ia32 win32
Jan 8, 2014
103e60a
deps: fix asm build error of openssl in x86_win32
Feb 13, 2015
3f6b633
openssl: fix keypress requirement in apps on win32
Feb 17, 2015
8de92cd
deps: add -no_rand_screen to openssl s_client
May 27, 2015
e65a2d7
test: accept expected AIX result test-stdio-closed
Sep 23, 2016
ce7d307
util: Add format for SharedArrayBuffer
Sep 17, 2016
99a2dd0
benchmark: add --expose_internals switch
Sep 16, 2016
9e5a06e
benchmark: make v8-bench.js output consistent
Sep 16, 2016
d5bc52a
benchmark: use 'yes' instead of echo in a loop
Sep 22, 2016
13c34a1
doc: improve child_process doc types
Sep 23, 2016
af2ca7c
test: use Buffer.alloc
Sep 23, 2016
292040f
inspector: build file cleanup
Sep 23, 2016
8698f69
doc,tool: add tls.TLSSocket to typeMap
Sep 23, 2016
558a884
buffer: fix performance regression
Sep 26, 2016
289d862
benchmark: add benchmarks for `Buffer.from()`
Sep 23, 2016
927661f
test: add assertions to zero length buffer test
Sep 23, 2016
52b6cfb
test: changed var to const, added strict equal checks
Sep 24, 2016
73ae2d1
test: cleanup parallel/test-fs-realpath.js
Sep 24, 2016
782db08
test: cleanup parallel/test-file-write-stream2.js
Sep 25, 2016
e5f5f3a
test: cleanup parallel/test-fs-readfile-unlink.js
Sep 24, 2016
fcf7696
doc: enable first-heading-level remark-lint rule
Sep 20, 2016
7561123
test: update var to const, use arrow functions
Sep 17, 2016
8e81e91
test: fixed FIXME in test-repl-persistent-history
Sep 24, 2016
bedc6b6
doc: enable no-file-name-articles remark-lint rule
Sep 20, 2016
bb78f65
doc: add added: info for crypto.timingSafeEqual()
Sep 26, 2016
33aa953
doc: fix title level at tls.md
Sep 26, 2016
d44a9eb
deps: upgrade npm to 3.10.8
Sep 22, 2016
6b443d1
deps: hotfix upgrade npm tap version for tests
Sep 22, 2016
23e1ed7
doc: add commit formats for release blog posts
Sep 17, 2016
f5ee3fe
2016-09-27 Version 0.10.47 (Maintenance) Release
Sep 27, 2016
e686be9
2016-09-27 Version 0.12.16 (Maintenance) Release
Sep 27, 2016
eba39c4
2016-09-27, Version 4.6.0 'Argon' (LTS)
Sep 27, 2016
aae1862
2016-09-27, Version 6.7.0 (Current)
Sep 27, 2016
f4d7abf
tls: improve createSecureContext in _tls_common
Sep 26, 2016
ca5f8f8
http: check reason chars in writeHead
Sep 27, 2016
6023ba1
crypto: don't build hardware engines
Sep 8, 2016
c34e58e
lib: make tls.checkServerIdentity() more strict
Aug 15, 2016
495d688
buffer: zero-fill uninitialized bytes in .concat()
Sep 16, 2016
c991d64
src: rename CHECK_NOT_OOB() macro
Sep 26, 2016
7f7502d
doc: remove failing workaround in BUILDING.md
Sep 24, 2016
8cd2306
test:replace indexOf, assert.equal, add mustCall()
Sep 24, 2016
676e624
doc: add optional step to onboarding doc
Sep 25, 2016
cad0423
doc: encourage 2FA before onboarding
Sep 25, 2016
a4d396d
doc: improve documentation for commit subject line
Sep 15, 2016
506cda6
test: cleanup test-net-server-address.js
Sep 17, 2016
eb927fa
src: add Malloc() size param + overflow detection
Sep 10, 2016
48ed654
src: pass desired return type to allocators
Sep 10, 2016
ea94086
src: provide allocation + nullptr check shortcuts
Sep 10, 2016
72c60e8
src: notify V8 for low memory when alloc fails
Sep 10, 2016
e758bd5
test: clean up test-buffer-badhex
Jul 17, 2016
b5bdff8
src: update NODE_MODULE_VERSION to 51
Sep 27, 2016
33dd4ec
test: mark test-inspector flaky on windows
Sep 28, 2016
560a589
stream: improve stream error messages
Sep 27, 2016
7bc6aea
dns: remove internal variable from makeAsync
Sep 27, 2016
c084287
fs,module: add module-loader-only realpath cache
Aug 14, 2016
21b37b2
doc: fix typo in repl doc
Sep 28, 2016
3e7da1d
benchmark: add info about required Unix tools
Sep 26, 2016
bdb8012
doc: add example for running with v8-inspector
Sep 29, 2016
5e6bd84
test: stream writable ended state
Sep 27, 2016
cd5a4c1
test: use common.skip for tap skip output
Sep 29, 2016
b838e5f
test: modernize syntax, add strict checks
Sep 29, 2016
6e62b71
src: add missing length argument to send comment
Sep 27, 2016
4c61f57
src: fixes misplaced comment
Sep 30, 2016
f5d997c
test: cleanup/update test-os.js
Sep 24, 2016
c8c2544
timers: improve setTimeout/Interval performance
Sep 20, 2016
3c5cf12
test: add and assert readable/writable arguments
Sep 27, 2016
68c4c71
ares_create_query: avoid single-byte buffer overwrite
Sep 23, 2016
b5ec47e
test: clean up test-timers-immediate
Sep 30, 2016
c32cfcb
src: refactor reading of options in contextify
Sep 29, 2016
9eb6179
cluster: remove unused backlog argument
Sep 30, 2016
13481d0
inspector: fix minor issues
Oct 1, 2016
4c619ec
module: fix comment from "read-only" to "shallow"
Oct 1, 2016
c1be609
build: don't build icu with -fno-rtti
Sep 30, 2016
2893bd2
src: remove unused function declaration
Oct 1, 2016
039f0c3
deps: update V8 to 5.4.500.31
Sep 29, 2016
cad2a2f
test: expand test coverage for url.js
Sep 30, 2016
6e92ae2
doc: add CTC meeting minutes 2016-09-21
Sep 22, 2016
15bd66b
doc: add CTC meeting minutes 2016-09-14
Sep 22, 2016
8dc2b42
test: fix running child-process-uid-gid as root
Sep 30, 2016
c56ae16
deps: make gtest output tap
Aug 9, 2016
a63dd85
build: run cctests as part of test-ci target
Aug 10, 2016
b3d283a
test: fix -Wformat warnings in inspector cctest
Aug 10, 2016
3326081
doc: recommend using port 0 instead of common.PORT
Sep 21, 2016
2cfd7fd
doc: add documentation for test common module
Sep 25, 2016
d33c4bf
tls: handle `error` events with `_tlsError`
Oct 1, 2016
7420835
src: fix build for older clang
Sep 22, 2016
2e568d9
lib: remove let from for loops
Sep 30, 2016
e10516d
doc: update punctuation in README.md
Oct 2, 2016
d097311
test: mark test-tick-processor-unknown flaky
Oct 3, 2016
1554735
test: fix child-process-uid-gid on Windows
Oct 4, 2016
0ed8839
timers: improve setImmediate() performance
Sep 18, 2016
4b3e4d5
deps: cherry-pick missing v8 floating patch
May 9, 2016
3723806
doc: fix markdown formatting in url.md
Oct 5, 2016
f68e0d1
test: cleanup/update test-dgram-empty-packet.js
Oct 1, 2016
1d4ba1b
test: refactor test-file-write-stream
Oct 2, 2016
e8e969a
fs: refactor "options" processing as a function
Jun 25, 2016
7b5ffa4
fs,doc: undeprecate existsSync
Aug 31, 2016
9def097
build: make addons build dep. on node_version.h
Sep 30, 2016
5b2a805
test: remove blank lines at end of files
Oct 4, 2016
5e6ae83
tools: disallow extra blank lines at EOF/BOF
Oct 4, 2016
7a94e2d
readline: fix `concievably` typo in readline.js
Oct 6, 2016
47d1588
lib: fix TypeError in v8-polyfill
Sep 30, 2016
fdca79f
test: enable addons test to pass with debug build
Sep 28, 2016
3945943
doc: fixup link in fs.md
Oct 5, 2016
d463a70
doc: add CTC meeting minutes 2016-09-07
Sep 12, 2016
bf0bcf4
doc: change ./node to node in debugger.md
Oct 5, 2016
eff6205
test: refactor test-net-server-max-connections
Oct 4, 2016
bd0bedb
doc: add `added:` information for globals
Oct 3, 2016
b88612d
test: run faster and cleanup after run
Sep 29, 2016
0f944ab
dgram: use Buffer.alloc(0) for zero-size buffers
Sep 23, 2016
647e8e5
test: remove FIXME pummel/test-tls-securepair-client
Sep 24, 2016
2154bc8
buffer: fix check for `.buffer` property
Sep 23, 2016
b2534f1
lib: changed var to const in linkedlist
Sep 17, 2016
105e628
intl: add deprecation warning for v8BreakIterator
Oct 3, 2016
23b9625
doc: add example for file existence with fs.stat
Sep 17, 2016
ae9d146
lib: minor improvements to bootstrap_node.js
Oct 3, 2016
75a970b
win,tools: ignore linting for line breaks
Sep 26, 2016
4d6297f
module: Remove deprecated function requireRepl.
Sep 17, 2016
33e598a
test: fix test-child-process-fork-regr-gh-2847
Oct 6, 2016
90cd39f
doc: make node(1) more consistent with tradition
Oct 8, 2016
7084b9c
test: expand test coverage for url.js
Oct 7, 2016
7542bdd
fs: don't alter user provided `options` object
Oct 9, 2016
c7bc9bc
tls: TLSSocket emits 'error' on handshake failure
Sep 27, 2016
13a204e
src: fix typo in #endif comment
Oct 9, 2016
2aa2f85
test: add cluster inspector debug port test
Oct 6, 2016
1bfa026
src: remove out-of-date TODO comment
Oct 10, 2016
07b54ec
test: various test improvements
Sep 9, 2016
a6e1be4
src: update module version mismatch error message
Sep 2, 2016
2a4b068
stream: proper `instanceof` for `Writable`s
Sep 28, 2016
a60f607
fs: make `SyncWriteStream` inherit from `Writable`
Sep 28, 2016
4896f0f
win,msi: mark INSTALLDIR property as secure
Sep 26, 2016
528c844
test: refactor `assert` in internet test-dns.js
Oct 7, 2016
01db04b
test: add coverage for spawnSync() killSignal
Oct 6, 2016
c9dade4
buffer: make byteLength throw on invalid input
Oct 6, 2016
6de9d13
doc: fix typo in email address in README
Oct 5, 2016
52c7f9d
doc: revise http documentation
Sep 10, 2016
88323e8
src: fix typo rval to value
Oct 11, 2016
4b31238
url: adding WHATWG URL support
May 31, 2016
3d54ea4
doc: fix broken links in changelogs
Aug 16, 2016
774d737
url: fix building when using --without-intl
Oct 11, 2016
499d058
crypto: use SSL_get_SSL_CTX.
Oct 9, 2016
1bc9af8
test: fixes that do not affect performance
Oct 10, 2016
e4ee09a
2016-10-12, Version 6.8.0 (Current)
Oct 12, 2016
b899140
governance: expand use of CTC issue tracker
Oct 6, 2016
4f62acd
http: reject control characters in http.request()
Oct 4, 2016
804d57d
process: improve performance of nextTick
Oct 4, 2016
a7970c0
test: refactor test-file-*
Oct 10, 2016
aa4698b
doc: fix typo
Oct 13, 2016
ec7f3a1
test: fix issues reported by Coverity
Sep 30, 2016
c2984ce
doc: explain why GitHub merge button is not used
Oct 12, 2016
98934d2
doc: explains why Reviewed-By is added in PRs
Oct 12, 2016
eb690b1
test: move module out of fixture directory
Oct 11, 2016
fcee4d4
doc: highlight deprecated API in ToC
Sep 2, 2016
0ed6338
build: fix config.gypi target
Oct 12, 2016
31196ea
net: fix ambiguity in EOF handling
Oct 12, 2016
835fbee
child_process: update outdated comment
Oct 9, 2016
b16a97e
tools: avoid let in for loops
Oct 12, 2016
42158a0
timers: fix regression with clearImmediate()
Oct 13, 2016
7922830
stream: fix `Writable` subclass instanceof checks
Oct 13, 2016
c457b92
build: add -DZLIB_CONST when building with --shared-zlib
Oct 13, 2016
113c697
2016-10-14, Version 6.8.1 (Current)
Oct 14, 2016
6f05de4
crypto: naming anonymous functions
Oct 9, 2016
f7842ad
src: refactor contextify
Sep 30, 2016
f478b46
doc: specify that errno is a number, not a string
Oct 10, 2016
2ebd445
console: name anonymous functions
Oct 12, 2016
9bb250b
test: enable node-module-version/test.js with debug
Oct 14, 2016
6c0acd8
test: Improvement for testing of execSync
Oct 17, 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
6 changes: 4 additions & 2 deletions .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/eslint
node_modules
190 changes: 110 additions & 80 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -1,106 +1,136 @@
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-obj-calls: 2
no-proto: 2
no-template-curly-in-string: 2
no-unexpected-multiline: 2
no-unreachable: 2
## require valid typeof compared string like typeof foo === 'strnig'
no-unsafe-negation: 2
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
dot-location: [2, property]
no-fallthrough: 2
no-global-assign: 2
no-multi-spaces: 2
no-octal: 2
no-redeclare: 2
no-self-assign: 2
no-unused-labels: 2
no-useless-call: 2
no-useless-escape: 2
no-void: 2
no-with: 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]
no-restricted-properties: [2, {
object: assert,
property: deepEqual,
message: Please use assert.deepStrictEqual().
}]

# 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
brace-style: [2, 1tbs, {allowSingleLine: true}]
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
max-len: [2, 80, 2]
## max 2 consecutive empty lines
no-multiple-empty-lines: [2, {max: 2}]
## require newline at end of files
comma-style: 2
computed-property-spacing: 2
eol-last: 2
## no trailing spaces
func-call-spacing: 2
indent: [2, 2, {SwitchCase: 1, MemberExpression: 1}]
key-spacing: [2, {mode: minimum}]
keyword-spacing: 2
linebreak-style: [2, unix]
max-len: [2, 80, 2]
new-parens: 2
no-mixed-spaces-and-tabs: 2
no-multiple-empty-lines: [2, {max: 2, maxEOF: 0, maxBOF: 0}]
no-tabs: 2
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
semi-spacing: 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, {ignoreReadBeforeAssign: true}]
rest-spread-spacing: 2
template-curly-spacing: 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]
no-definegetter-definesetter: 2

# Global scoped method and vars
globals:
DTRACE_HTTP_CLIENT_REQUEST : false
LTTNG_HTTP_CLIENT_REQUEST : false
COUNTER_HTTP_CLIENT_REQUEST : false
DTRACE_HTTP_CLIENT_RESPONSE : false
LTTNG_HTTP_CLIENT_RESPONSE : false
COUNTER_HTTP_CLIENT_RESPONSE : false
DTRACE_HTTP_SERVER_REQUEST : false
LTTNG_HTTP_SERVER_REQUEST : false
COUNTER_HTTP_SERVER_REQUEST : false
DTRACE_HTTP_SERVER_RESPONSE : false
LTTNG_HTTP_SERVER_RESPONSE : false
COUNTER_HTTP_SERVER_RESPONSE : false
DTRACE_NET_STREAM_END : false
LTTNG_NET_STREAM_END : false
COUNTER_NET_SERVER_CONNECTION_CLOSE : false
DTRACE_NET_SERVER_CONNECTION : false
LTTNG_NET_SERVER_CONNECTION : false
COUNTER_NET_SERVER_CONNECTION : false
escape : false
unescape : false
COUNTER_HTTP_CLIENT_REQUEST: false
COUNTER_HTTP_CLIENT_RESPONSE: false
COUNTER_HTTP_SERVER_REQUEST: false
COUNTER_HTTP_SERVER_RESPONSE: false
COUNTER_NET_SERVER_CONNECTION: false
COUNTER_NET_SERVER_CONNECTION_CLOSE: false
DTRACE_HTTP_CLIENT_REQUEST: false
DTRACE_HTTP_CLIENT_RESPONSE: false
DTRACE_HTTP_SERVER_REQUEST: false
DTRACE_HTTP_SERVER_RESPONSE: false
DTRACE_NET_SERVER_CONNECTION: false
DTRACE_NET_STREAM_END: false
LTTNG_HTTP_CLIENT_REQUEST: false
LTTNG_HTTP_CLIENT_RESPONSE: false
LTTNG_HTTP_SERVER_REQUEST: false
LTTNG_HTTP_SERVER_RESPONSE: false
LTTNG_NET_SERVER_CONNECTION: false
LTTNG_NET_STREAM_END: false
17 changes: 17 additions & 0 deletions .github/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<!--
Thank you for reporting an issue.
Please fill in as much of the template below as you're able.

Version: output of `node -v`
Platform: output of `uname -a` (UNIX), or version and 32 or 64-bit (Windows)
Subsystem: if known, please specify affected core module name

If possible, please provide code that demonstrates the problem, keeping it as
simple and free of external dependencies as you are able.
-->

* **Version**:
* **Platform**:
* **Subsystem**:

<!-- Enter your issue details below this comment. -->
22 changes: 22 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<!--
Thank you for your pull request. Please review below requirements.

Bug fixes and new features should include tests and possibly benchmarks.

Contributors guide: https://github.com/nodejs/node/blob/master/CONTRIBUTING.md
-->

##### Checklist
<!-- Remove items that do not apply. For completed items, change [ ] to [x]. -->

- [ ] `make -j8 test` (UNIX), or `vcbuild test nosign` (Windows) passes
- [ ] tests and/or benchmarks are included
- [ ] documentation is changed or added
- [ ] commit message follows commit guidelines

##### Affected core subsystem(s)
<!-- Provide affected core subsystem(s) (like doc, cluster, crypto, etc). -->


##### Description of change
<!-- Provide a description of the change below this comment. -->
14 changes: 12 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,14 @@ node_g
/.project
/.cproject
icu_config.gypi
.eslintcache

/out

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

/config.mk
/config.gypi
/config_fips.gypi
*-nodegyp*
/gyp-mac-tool
/dist-osx
/npm.wxs
/tools/msvs/npm.wixobj
/tools/msvs/genfiles/
/tools/osx-pkg.pmdoc/index.xml
/test/addons/doc-*/
/test/addons/??_*/
email.md
deps/v8-*
deps/icu
Expand All @@ -71,6 +78,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
Loading