After installing esling-config-logux and fixing a few similar errors, I still cannot get gulp lint working.
$ gulp lint
[21:00:21] Using gulpfile ~/git_workspace/github_testcafe/gulpfile.js
(node:38486) [DEP0022] DeprecationWarning: os.tmpDir() is deprecated. Use os.tmpdir() instead.
[21:00:21] Starting 'lint'...
[21:00:23] Using gulpfile ~/git_workspace/github_testcafe/gulpfile.js
(node:38488) [DEP0022] DeprecationWarning: os.tmpDir() is deprecated. Use os.tmpdir() instead.
[21:00:23] Starting 'worker:lint'...
(node:38488) DeprecationWarning: [eslint] The 'ecmaFeatures' config file property is deprecated, and has no effect. (found in /Users/jzhang/git_workspace/github_testcafe/examples/using-assertions/node_modules/pngjs/.eslintrc.json)
[21:18:51]
<--- Last few GCs --->
[38488:0x104801400] 1111715 ms: Mark-sweep 1123.2 (1422.1) -> 1123.2 (1422.6) MB, 731.1 / 0.0 ms allocation failure GC in old space requested
[38488:0x104801400] 1112503 ms: Mark-sweep 1123.2 (1422.6) -> 1123.2 (1369.6) MB, 787.6 / 0.0 ms last resort GC in old space requested
[38488:0x104801400] 1113232 ms: Mark-sweep 1123.2 (1369.6) -> 1123.2 (1349.1) MB, 729.2 / 0.0 ms last resort GC in old space requested
<--- JS stacktrace --->
==== JS stack trace =========================================
Security context: 0x1367e0aa5529
1: createWriteReq(aka createWriteReq) [net.js:771] [bytecode=0x13671c56e751 offset=111](this=0x13671d3822d1 ,req=0x1367c6aef469 ,handle=0x13672e38ea11 ,data=0x1367c6aef319 ,encoding=0x1367e0ab63e1 )
2: _writeGeneric [net.js:733] [bytecode=0x13671c56d531 offset=395](this=0x13...
FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory
1: node::Abort() [/usr/local/Cellar/node/9.8.0/bin/node]
2: node::OnFatalError(char const*, char const*) [/usr/local/Cellar/node/9.8.0/bin/node]
3: v8::Utils::ReportOOMFailure(char const*, bool) [/usr/local/Cellar/node/9.8.0/bin/node]
4: v8::internal::V8::FatalProcessOutOfMemory(char const*, bool) [/usr/local/Cellar/node/9.8.0/bin/node]
5: v8::internal:
:NewRawTwoByteString(int, v8::internal::PretenureFlag) [/usr/local/Cellar/node/9.8.0/bin/node]
6: v8::internal::String::SlowFlatten(v8::internal::Handle, v8::internal::PretenureFlag) [/usr/local/Cellar/node/9.8.0/bin/node]
7: v8::String::WriteUtf8(char*, int, int*, int) const [/usr/local/Cellar/node/9.8.0/bin/node]
8: node::StringBytes::Write(v8::Isolate*, char*, unsigned long, v8::Local, node::encoding, int*) [/usr/local/Cellar/node/9.8.0/bin/node]
9: int node::StreamBase::WriteString<(node::encoding)1>(v8::FunctionCallbackInfo const&) [/usr/local/Cellar/node/9.8.0/bin/node]
10: void node::StreamBase::JSMethod(v8::FunctionCallbackInfo const&))>(v8::FunctionCallbackInfo const&) [/usr/local/Cellar/node/9.8.0/bin/node]
11: v8::internal::FunctionCallbackArguments::Call(void (*)(v8::FunctionCallbackInfo const&)) [/usr/local/Cellar/node/9.8.0/bin/node]
12: v8::internal::MaybeHandle v8::internal::(anonymous namespace)::HandleApiCallHelper(v8::internal::Isolate*, v8::internal::Handle, v8::internal::Handle, v8::internal::Handle, v8::internal::Handle, v8::internal::BuiltinArguments) [/usr/local/Cellar/node/9.8.0/bin/node]
13: v8::internal::Builtin_Impl_HandleApiCall(v8::internal::BuiltinArguments, v8::internal::Isolate*) [/usr/local/Cellar/node/9.8.0/bin/node]
14: 0x833805042fd
15: 0x833805bd196
[21:18:54] 'lint' errored after 19 min
[21:18:54] Error in plugin 'll'
Message:
Task ll:lint failed