0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00
nodejs/test
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
..
abort
addons test: remove unused vars 2016-01-05 08:59:58 -08:00
cctest
debugger lib,test: remove extra semicolons 2016-01-16 19:54:25 +01:00
disabled
fixtures node: allow preload modules with -i 2016-01-18 10:57:45 -06:00
gc tools: lint for spacing around unary operators 2016-02-04 10:56:17 -08:00
internet test: fix style issues after eslint update 2016-01-13 23:16:17 +01:00
message src: attach error to stack on displayErrors 2016-01-26 11:03:13 -05:00
parallel tools: lint for spacing around unary operators 2016-02-04 10:56:17 -08:00
pummel test: pummel test fixes 2016-02-01 09:17:55 -08:00
sequential tools: lint for spacing around unary operators 2016-02-04 10:56:17 -08:00
testpy
timers test: remove unused vars 2016-01-05 08:59:58 -08:00
.eslintrc
common.js test: update arrow function style 2016-01-28 11:31:31 -05:00