Skip to content

Instantly share code, notes, and snippets.

@royriojas
Last active September 1, 2015 09:55
Show Gist options
  • Save royriojas/9b7fdbbea4c7e772e5a3 to your computer and use it in GitHub Desktop.
Save royriojas/9b7fdbbea4c7e772e5a3 to your computer and use it in GitHub Desktop.
npm i
> [email protected] postinstall /Users/roy/tmp/eslint/node_modules/beefy/node_modules/chokidar
> node setup-deps.js
Executing npm install [email protected] [email protected]
npm WARN package.json [email protected] No license field.
../nodefsevents.cc:31:30: error: expected class name
class NodeFSEvents : node::ObjectWrap {
^
../nodefsevents.cc:66:51: error: no type named 'Arguments' in namespace 'v8'; did you mean 'v8::internal::Arguments'?
static v8::Handle<v8::Value> Shutdown(const v8::Arguments& args) {
^~~~~~~~~~~~~
v8::internal::Arguments
/Users/roy/.node-gyp/0.12.0/deps/v8/include/v8.h:127:7: note: 'v8::internal::Arguments' declared here
class Arguments;
^
../nodefsevents.cc:72:46: error: no type named 'Arguments' in namespace 'v8'; did you mean 'v8::internal::Arguments'?
static v8::Handle<v8::Value> New(const v8::Arguments& args) {
^~~~~~~~~~~~~
v8::internal::Arguments
/Users/roy/.node-gyp/0.12.0/deps/v8/include/v8.h:127:7: note: 'v8::internal::Arguments' declared here
class Arguments;
^
../nodefsevents.cc:34:21: error: calling a protected constructor of class 'v8::HandleScope'
HandleScope scope;
^
/Users/roy/.node-gyp/0.12.0/deps/v8/include/v8.h:816:13: note: declared protected here
V8_INLINE HandleScope() {}
^
../nodefsevents.cc:35:20: error: use of undeclared identifier 'NODE_PSYMBOL'
emit_sym = NODE_PSYMBOL("emit");
^
../nodefsevents.cc:36:22: error: use of undeclared identifier 'NODE_PSYMBOL'
change_sym = NODE_PSYMBOL("fsevent");
^
../nodefsevents.cc:37:59: error: cannot initialize a parameter of type 'v8::Isolate *' with an lvalue of type 'v8::Handle<v8::Value> (const v8::internal::Arguments &)'
Local<FunctionTemplate> t = FunctionTemplate::New(NodeFSEvents::New);
^~~~~~~~~~~~~~~~~
/Users/roy/.node-gyp/0.12.0/deps/v8/include/v8.h:3456:16: note: passing argument to parameter 'isolate' here
Isolate* isolate,
^
../nodefsevents.cc:38:62: error: 'New' is a private member of 'v8::PersistentBase<v8::FunctionTemplate>'
constructor_template = Persistent<FunctionTemplate>::New(t);
^
/Users/roy/.node-gyp/0.12.0/deps/v8/include/v8.h:572:23: note: declared private here
V8_INLINE static T* New(Isolate* isolate, T* that);
^
../nodefsevents.cc:38:67: error: too few arguments to function call, expected 2, have 1
constructor_template = Persistent<FunctionTemplate>::New(t);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
/Users/roy/.node-gyp/0.12.0/deps/v8/include/v8.h:572:3: note: 'New' declared here
V8_INLINE static T* New(Isolate* isolate, T* that);
^
/Users/roy/.node-gyp/0.12.0/deps/v8/include/v8config.h:289:20: note: expanded from macro 'V8_INLINE'
# define V8_INLINE inline __attribute__((always_inline))
^
../nodefsevents.cc:39:29: error: member reference type 'v8::Persistent<v8::FunctionTemplate>' is not a pointer; maybe you meant to use '.'?
constructor_template->InstanceTemplate()->SetInternalFieldCount(1);
~~~~~~~~~~~~~~~~~~~~^~
.
../nodefsevents.cc:39:31: error: no member named 'InstanceTemplate' in 'v8::Persistent<v8::FunctionTemplate, v8::NonCopyablePersistentTraits<v8::FunctionTemplate> >'
constructor_template->InstanceTemplate()->SetInternalFieldCount(1);
~~~~~~~~~~~~~~~~~~~~ ^
../nodefsevents.cc:40:29: error: member reference type 'v8::Persistent<v8::FunctionTemplate>' is not a pointer; maybe you meant to use '.'?
constructor_template->SetClassName(String::NewSymbol("FSEvents"));
~~~~~~~~~~~~~~~~~~~~^~
.
../nodefsevents.cc:40:31: error: no member named 'SetClassName' in 'v8::Persistent<v8::FunctionTemplate, v8::NonCopyablePersistentTraits<v8::FunctionTemplate> >'
constructor_template->SetClassName(String::NewSymbol("FSEvents"));
~~~~~~~~~~~~~~~~~~~~ ^
../nodefsevents.cc:40:52: error: no member named 'NewSymbol' in 'v8::String'
constructor_template->SetClassName(String::NewSymbol("FSEvents"));
~~~~~~~~^
../nodefsevents.cc:41:59: error: member reference type 'v8::Persistent<v8::FunctionTemplate>' is not a pointer; maybe you meant to use '.'?
Local<Function> constructor = constructor_template->GetFunction();
~~~~~~~~~~~~~~~~~~~~^~
.
../nodefsevents.cc:41:61: error: no member named 'GetFunction' in 'v8::Persistent<v8::FunctionTemplate, v8::NonCopyablePersistentTraits<v8::FunctionTemplate> >'
Local<Function> constructor = constructor_template->GetFunction();
~~~~~~~~~~~~~~~~~~~~ ^
../nodefsevents.cc:43:26: error: no member named 'New' in 'v8::String'; did you mean simply 'New'?
constructor->Set(String::New("kFSEventStreamEventFlagNone"), Integer::New(0x00000000));
^~~~~~~~~~~
New
../nodefsevents.cc:72:36: note: 'New' declared here
static v8::Handle<v8::Value> New(const v8::Arguments& args) {
^
../nodefsevents.cc:43:38: error: reference to type 'const v8::internal::Arguments' could not bind to an lvalue of type 'const char [28]'
constructor->Set(String::New("kFSEventStreamEventFlagNone"), Integer::New(0x00000000));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../nodefsevents.cc:72:61: note: passing argument to parameter 'args' here
static v8::Handle<v8::Value> New(const v8::Arguments& args) {
^
../nodefsevents.cc:43:93: error: too few arguments to function call, expected 2, have 1
constructor->Set(String::New("kFSEventStreamEventFlagNone"), Integer::New(0x00000000));
~~~~~~~~~~~~ ^
/Users/roy/.node-gyp/0.12.0/deps/v8/include/v8.h:2012:3: note: 'New' declared here
static Local<Integer> New(Isolate* isolate, int32_t value);
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
make: *** [Release/obj.target/fswatch/nodefsevents.o] Error 1
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/Users/roy/.nvm/v0.12.0/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:269:23)
gyp ERR! stack at ChildProcess.emit (events.js:110:17)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:1067:12)
gyp ERR! System Darwin 14.5.0
gyp ERR! command "node" "/Users/roy/.nvm/v0.12.0/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /Users/roy/tmp/eslint/node_modules/beefy/node_modules/chokidar/node_modules/fsevents
gyp ERR! node -v v0.12.0
gyp ERR! node-gyp -v v2.0.2
gyp ERR! not ok
npm ERR! Darwin 14.5.0
npm ERR! argv "node" "/Users/roy/.nvm/v0.12.0/bin/npm" "install" "[email protected]" "[email protected]"
npm ERR! node v0.12.0
npm ERR! npm v2.14.0
npm ERR! code ELIFECYCLE
npm ERR! [email protected] install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script 'node-gyp rebuild'.
npm ERR! This is most likely a problem with the fsevents package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-gyp rebuild
npm ERR! You can get their info via:
npm ERR! npm owner ls fsevents
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /Users/roy/tmp/eslint/node_modules/beefy/node_modules/chokidar/npm-debug.log
npm WARN prefer global [email protected] should be installed with -g
> [email protected] install /Users/roy/tmp/eslint/node_modules/phantomjs
> node install.js
Download already available at /var/folders/d5/cnn9f2ms303cm6xgy4kcd72c0000gs/T/phantomjs/phantomjs-1.9.7-macosx.zip
Extracting zip contents
Copying extracted folder /var/folders/d5/cnn9f2ms303cm6xgy4kcd72c0000gs/T/phantomjs/phantomjs-1.9.7-macosx.zip-extract-1441101091988/phantomjs-1.9.7-macosx -> /Users/roy/tmp/eslint/node_modules/phantomjs/lib/phantom
Writing location.js file
Done. Phantomjs binary available at /Users/roy/tmp/eslint/node_modules/phantomjs/lib/phantom/bin/phantomjs
npm WARN prefer global [email protected] should be installed with -g
npm WARN prefer global [email protected] should be installed with -g
[email protected] node_modules/escape-string-regexp
[email protected] node_modules/path-is-absolute
[email protected] node_modules/object-assign
[email protected] node_modules/path-is-inside
[email protected] node_modules/linefix
[email protected] node_modules/xml-escape
[email protected] node_modules/user-home
[email protected] node_modules/strip-json-comments
[email protected] node_modules/estraverse-fb
[email protected] node_modules/globals
[email protected] node_modules/through
[email protected] node_modules/estraverse
[email protected] node_modules/text-table
[email protected] node_modules/rewire
[email protected] node_modules/is-resolvable
└── [email protected]
[email protected] node_modules/debug
└── [email protected]
[email protected] node_modules/chalk
├── [email protected]
├── [email protected]
├── [email protected] ([email protected])
└── [email protected] ([email protected])
[email protected] node_modules/optionator
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
└── [email protected]
[email protected] node_modules/lodash.merge
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected] ([email protected])
├── [email protected] ([email protected])
└── [email protected] ([email protected], [email protected], [email protected])
[email protected] node_modules/shelljs
[email protected] node_modules/semver
[email protected] node_modules/glob
├── [email protected]
├── [email protected] ([email protected])
└── [email protected] ([email protected])
[email protected] node_modules/esprima
[email protected] node_modules/mkdirp
└── [email protected]
[email protected] node_modules/lodash.clonedeep
├── [email protected]
└── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected])
[email protected] node_modules/lodash.omit
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected] ([email protected])
├── [email protected] ([email protected], [email protected])
├── [email protected] ([email protected], [email protected])
└── [email protected] ([email protected], [email protected], [email protected])
[email protected] node_modules/minimatch
└── [email protected] ([email protected], [email protected])
[email protected] node_modules/shelljs-nodecli
└── [email protected]
[email protected] node_modules/espree
[email protected] node_modules/concat-stream
├── [email protected]
├── [email protected]
└── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected])
[email protected] node_modules/ejs
[email protected] node_modules/proxyquire
├── [email protected]
└── [email protected] ([email protected], [email protected])
[email protected] node_modules/doctrine
├── [email protected]
└── [email protected]
[email protected] node_modules/is-my-json-valid
├── [email protected]
├── [email protected]
├── [email protected]
└── [email protected] ([email protected])
[email protected] node_modules/dateformat
├── [email protected]
└── [email protected] ([email protected], [email protected], [email protected], [email protected])
[email protected] node_modules/gh-got
└── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected])
[email protected] node_modules/chai
├── [email protected]
└── [email protected] ([email protected])
[email protected] node_modules/npm-license
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected] ([email protected])
├── [email protected]
└── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected])
[email protected] node_modules/esprima-fb
[email protected] node_modules/sinon
├── [email protected]
├── [email protected] ([email protected])
└── [email protected] ([email protected])
[email protected] node_modules/mocha-phantomjs
├── [email protected]
└── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected])
[email protected] node_modules/phantomjs
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected] ([email protected])
├── [email protected]
├── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected])
└── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected])
[email protected] node_modules/brfs
├── [email protected]
├── [email protected] ([email protected])
└── [email protected] ([email protected], [email protected], [email protected])
[email protected] node_modules/coveralls
├── [email protected]
├── [email protected]
├── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected])
└── [email protected] ([email protected], [email protected])
[email protected] node_modules/beefy
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected] ([email protected])
├── [email protected] ([email protected])
├── [email protected]
└── [email protected] ([email protected], [email protected], [email protected])
[email protected] node_modules/handlebars
├── [email protected] ([email protected], [email protected])
├── [email protected] ([email protected])
└── [email protected] ([email protected], [email protected])
[email protected] node_modules/istanbul
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected] ([email protected])
├── [email protected]
├── [email protected] ([email protected], [email protected], [email protected], [email protected])
└── [email protected] ([email protected], [email protected], [email protected])
[email protected] node_modules/mocha
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected] ([email protected])
├── [email protected] ([email protected], [email protected], [email protected])
├── [email protected] ([email protected])
├── [email protected] ([email protected], [email protected], [email protected])
└── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected])
[email protected] node_modules/inquirer
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected] ([email protected], [email protected])
├── [email protected] ([email protected])
├── [email protected]
└── [email protected]
[email protected] node_modules/cheerio
├── [email protected] ([email protected])
├── [email protected]
├── [email protected] ([email protected], [email protected], [email protected], [email protected])
├── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected])
└── [email protected]
[email protected] node_modules/jsonlint
├── [email protected] ([email protected], [email protected])
└── [email protected]
[email protected] node_modules/js-yaml
├── [email protected]
└── [email protected] ([email protected], [email protected])
[email protected] node_modules/browserify
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected] ([email protected])
├── [email protected]
├── [email protected] ([email protected])
├── [email protected] ([email protected])
├── [email protected] ([email protected])
├── [email protected] ([email protected])
├── [email protected] ([email protected])
├── [email protected] ([email protected])
├── [email protected] ([email protected])
├── [email protected] ([email protected])
├── [email protected] ([email protected], [email protected])
├── [email protected] ([email protected], [email protected])
├── [email protected] ([email protected], [email protected])
├── [email protected]
├── [email protected] ([email protected])
├── [email protected] ([email protected], [email protected], [email protected])
├── [email protected] ([email protected])
├── [email protected] ([email protected])
├── [email protected] ([email protected])
├── [email protected] ([email protected])
├── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected])
├── [email protected] ([email protected], [email protected])
├── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected])
├── [email protected] ([email protected])
├── [email protected] ([email protected], [email protected], [email protected])
└── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected])
[email protected] node_modules/markdownlint
└── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected])
[email protected] node_modules/escope
├── [email protected]
├── [email protected]
├── [email protected] ([email protected], [email protected], [email protected], [email protected])
└── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected])
[email protected] node_modules/jsdoc
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected] ([email protected])
├── [email protected]
└── [email protected] ([email protected])
roy  MacBook-Pro  ~  tmp  eslint  master  $ node -v
v0.12.0
Tue, 01 Sep 2015 09:54:23 GMT eslint:cli-engine Linting /private/var/folders/d5/cnn9f2ms303cm6xgy4kcd72c0000gs/T/eslint/fixtures/max-warnings/six-warnings.js
[▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬]
6265 passing (19s)
41 failing
1) CLIEngine executeOnFiles() should return one error message when given a config with rules with options and severity level set to error:
AssertionError: expected 2 to equal 1
at Context.<anonymous> (tests/lib/cli-engine.js:278:20)
2) CLIEngine executeOnFiles() should return zero messages when given a config with environment set to browser:
AssertionError: expected 2 to equal 1
at Context.<anonymous> (tests/lib/cli-engine.js:313:20)
3) CLIEngine executeOnFiles() should return zero messages when given an option to set environment to browser:
AssertionError: expected 2 to equal 1
at Context.<anonymous> (tests/lib/cli-engine.js:328:20)
4) CLIEngine executeOnFiles() should return zero messages when given a config with environment set to Node.js:
AssertionError: expected 2 to equal 1
at Context.<anonymous> (tests/lib/cli-engine.js:339:20)
5) CLIEngine executeOnFiles() should not return results from previous call when calling more than once:
AssertionError: expected '/private/var/folders/d5/cnn9f2ms303cm6xgy4kcd72c0000gs/T/eslint/fixtures/missing-semicolon.js' to equal '/var/folders/d5/cnn9f2ms303cm6xgy4kcd72c0000gs/T/eslint/fixtures/missing-semicolon.js'
at Context.<anonymous> (tests/lib/cli-engine.js:357:20)
6) CLIEngine executeOnFiles() should return two messages when given a file in excluded files list while ignore is off:
AssertionError: expected '/private/var/folders/d5/cnn9f2ms303cm6xgy4kcd72c0000gs/T/eslint/fixtures/undef.js' to equal '/var/folders/d5/cnn9f2ms303cm6xgy4kcd72c0000gs/T/eslint/fixtures/undef.js'
at Context.<anonymous> (tests/lib/cli-engine.js:420:20)
7) CLIEngine executeOnFiles() should return one message when a custom rule matches a file:
AssertionError: expected '/private/var/folders/d5/cnn9f2ms303cm6xgy4kcd72c0000gs/T/eslint/fixtures/rules/test/test-custom-rule.js' to equal '/var/folders/d5/cnn9f2ms303cm6xgy4kcd72c0000gs/T/eslint/fixtures/rules/test/test-custom-rule.js'
at Context.<anonymous> (tests/lib/cli-engine.js:483:20)
8) CLIEngine executeOnFiles() should return messages when multiple custom rules match a file:
AssertionError: expected '/private/var/folders/d5/cnn9f2ms303cm6xgy4kcd72c0000gs/T/eslint/fixtures/rules/test-multi-rulesdirs.js' to equal '/var/folders/d5/cnn9f2ms303cm6xgy4kcd72c0000gs/T/eslint/fixtures/rules/test-multi-rulesdirs.js'
at Context.<anonymous> (tests/lib/cli-engine.js:504:20)
9) CLIEngine executeOnFiles() should return zero messages when executing without useEslintrc flag:
AssertionError: expected '/private/var/folders/d5/cnn9f2ms303cm6xgy4kcd72c0000gs/T/eslint/fixtures/missing-semicolon.js' to equal '/var/folders/d5/cnn9f2ms303cm6xgy4kcd72c0000gs/T/eslint/fixtures/missing-semicolon.js'
at Context.<anonymous> (tests/lib/cli-engine.js:523:20)
10) CLIEngine executeOnFiles() should return zero messages when executing without useEslintrc flag in Node.js environment:
AssertionError: expected '/private/var/folders/d5/cnn9f2ms303cm6xgy4kcd72c0000gs/T/eslint/fixtures/process-exit.js' to equal '/var/folders/d5/cnn9f2ms303cm6xgy4kcd72c0000gs/T/eslint/fixtures/process-exit.js'
at Context.<anonymous> (tests/lib/cli-engine.js:539:20)
11) CLIEngine executeOnFiles() should return zero messages when executing with base-config flag set to false:
AssertionError: expected '/private/var/folders/d5/cnn9f2ms303cm6xgy4kcd72c0000gs/T/eslint/fixtures/missing-semicolon.js' to equal '/var/folders/d5/cnn9f2ms303cm6xgy4kcd72c0000gs/T/eslint/fixtures/missing-semicolon.js'
at Context.<anonymous> (tests/lib/cli-engine.js:555:20)
12) CLIEngine executeOnFiles() should return zero messages and ignore .eslintrc files when executing with no-eslintrc flag:
AssertionError: expected '/private/var/folders/d5/cnn9f2ms303cm6xgy4kcd72c0000gs/T/eslint/fixtures/eslintrc/quotes.js' to equal '/var/folders/d5/cnn9f2ms303cm6xgy4kcd72c0000gs/T/eslint/fixtures/eslintrc/quotes.js'
at Context.<anonymous> (tests/lib/cli-engine.js:571:20)
13) CLIEngine executeOnFiles() should return zero messages and ignore package.json files when executing with no-eslintrc flag:
AssertionError: expected '/private/var/folders/d5/cnn9f2ms303cm6xgy4kcd72c0000gs/T/eslint/fixtures/packagejson/quotes.js' to equal '/var/folders/d5/cnn9f2ms303cm6xgy4kcd72c0000gs/T/eslint/fixtures/packagejson/quotes.js'
at Context.<anonymous> (tests/lib/cli-engine.js:588:20)
14) CLIEngine executeOnFiles() configuration hierarchy should return zero messages when executing with no .eslintrc:
AssertionError: expected 2 to equal 1
at Context.<anonymous> (tests/lib/cli-engine.js:604:24)
15) CLIEngine executeOnFiles() configuration hierarchy should return zero messages when executing with no .eslintrc in the Node.js environment:
AssertionError: expected 2 to equal 1
at Context.<anonymous> (tests/lib/cli-engine.js:617:24)
16) CLIEngine executeOnFiles() configuration hierarchy should return zero messages when executing with .eslintrc in the Node.js environment:
AssertionError: expected 2 to equal 1
at Context.<anonymous> (tests/lib/cli-engine.js:627:24)
17) CLIEngine executeOnFiles() configuration hierarchy should return zero messages when executing with .eslintrc in the Node.js environment:
AssertionError: expected 2 to equal 1
at Context.<anonymous> (tests/lib/cli-engine.js:637:24)
18) CLIEngine executeOnFiles() configuration hierarchy should return one message when executing with .eslintrc:
AssertionError: expected 2 to equal 1
at Context.<anonymous> (tests/lib/cli-engine.js:647:24)
19) CLIEngine executeOnFiles() configuration hierarchy should return one message when executing with local .eslintrc that overrides parent .eslintrc:
AssertionError: expected 2 to equal 1
at Context.<anonymous> (tests/lib/cli-engine.js:659:24)
20) CLIEngine executeOnFiles() configuration hierarchy should return one message when executing with local .eslintrc that overrides parent and grandparent .eslintrc:
AssertionError: expected 2 to equal 1
at Context.<anonymous> (tests/lib/cli-engine.js:671:24)
21) CLIEngine executeOnFiles() configuration hierarchy should return one message when executing with package.json:
AssertionError: expected 2 to equal 1
at Context.<anonymous> (tests/lib/cli-engine.js:683:24)
22) CLIEngine executeOnFiles() configuration hierarchy should return zero messages when executing with local package.json that overrides parent package.json:
AssertionError: expected 2 to equal 1
at Context.<anonymous> (tests/lib/cli-engine.js:695:24)
23) CLIEngine executeOnFiles() configuration hierarchy should return one message when executing with local package.json that overrides parent and grandparent package.json:
AssertionError: expected 2 to equal 1
at Context.<anonymous> (tests/lib/cli-engine.js:705:24)
24) CLIEngine executeOnFiles() configuration hierarchy should return one message when executing with .eslintrc that overrides a package.json in the same directory:
AssertionError: expected 2 to equal 1
at Context.<anonymous> (tests/lib/cli-engine.js:717:24)
25) CLIEngine executeOnFiles() configuration hierarchy should return two messages when executing with config file that adds to local .eslintrc:
AssertionError: expected 2 to equal 1
at Context.<anonymous> (tests/lib/cli-engine.js:731:24)
26) CLIEngine executeOnFiles() configuration hierarchy should return no messages when executing with config file that overrides local .eslintrc:
AssertionError: expected 2 to equal 1
at Context.<anonymous> (tests/lib/cli-engine.js:747:24)
27) CLIEngine executeOnFiles() configuration hierarchy should return two messages when executing with config file that adds to local and parent .eslintrc:
AssertionError: expected 2 to equal 1
at Context.<anonymous> (tests/lib/cli-engine.js:759:24)
28) CLIEngine executeOnFiles() configuration hierarchy should return one message when executing with config file that overrides local and parent .eslintrc:
AssertionError: expected 2 to equal 1
at Context.<anonymous> (tests/lib/cli-engine.js:775:24)
29) CLIEngine executeOnFiles() configuration hierarchy should return no messages when executing with config file that overrides local .eslintrc:
AssertionError: expected 2 to equal 1
at Context.<anonymous> (tests/lib/cli-engine.js:789:24)
30) CLIEngine executeOnFiles() configuration hierarchy should return one message when executing with command line rule and config file that overrides local .eslintrc:
AssertionError: expected 2 to equal 1
at Context.<anonymous> (tests/lib/cli-engine.js:804:24)
31) CLIEngine executeOnFiles() configuration hierarchy should return one message when executing with command line rule and config file that overrides local .eslintrc:
AssertionError: expected 2 to equal 1
at Context.<anonymous> (tests/lib/cli-engine.js:821:24)
32) CLIEngine executeOnFiles() plugins should return two messages when executing with config file that specifies a plugin:
AssertionError: expected 2 to equal 1
at Context.<anonymous> (tests/lib/cli-engine.js:838:24)
33) CLIEngine executeOnFiles() plugins should return two messages when executing with config file that specifies a plugin with namespace:
AssertionError: expected 2 to equal 1
at Context.<anonymous> (tests/lib/cli-engine.js:851:24)
34) CLIEngine executeOnFiles() plugins should return two messages when executing with config file that specifies a plugin without prefix:
AssertionError: expected 2 to equal 1
at Context.<anonymous> (tests/lib/cli-engine.js:864:24)
35) CLIEngine executeOnFiles() plugins should return two messages when executing with config file that specifies a plugin without prefix and with namespace:
AssertionError: expected 2 to equal 1
at Context.<anonymous> (tests/lib/cli-engine.js:877:24)
36) CLIEngine executeOnFiles() plugins should return two messages when executing with cli option that specifies a plugin:
AssertionError: expected 2 to equal 1
at Context.<anonymous> (tests/lib/cli-engine.js:908:24)
37) CLIEngine executeOnFiles() plugins should return two messages when executing with cli option that specifies preloaded plugin:
AssertionError: expected 2 to equal 1
at Context.<anonymous> (tests/lib/cli-engine.js:924:24)
38) CLIEngine executeOnFiles() processors should return two messages when executing with config file that specifies a processor:
AssertionError: expected 2 to equal 1
at Context.<anonymous> (tests/lib/cli-engine.js:940:24)
39) CLIEngine executeOnFiles() processors should return two messages when executing with config file that specifies preloaded processor:
AssertionError: expected 2 to equal 1
at Context.<anonymous> (tests/lib/cli-engine.js:969:24)
40) cli when given a pattern to ignore should not process any files:
AssertionError: expected 1 to equal 0
at Context.<anonymous> (tests/lib/cli.js:327:20)
41) FileFinder findAllInDirectoryAndParents Not consider directory with expected file names should only find one package.json from the root:
expected [ Array(2) ] to equal '/Users/roy/tmp/eslint/package.json'
AssertionError: expected [ Array(2) ] to equal 'package.json'
at Context.<anonymous> (tests/lib/file-finder.js:178:24)
=============================================================================
Writing coverage object [/Users/roy/tmp/eslint/coverage/coverage.json]
Writing coverage reports at [/Users/roy/tmp/eslint/coverage]
=============================================================================
=============================== Coverage summary ===============================
Statements : 99.49% ( 5860/5890 ), 55 ignored
Branches : 98.47% ( 4570/4641 ), 25 ignored
Functions : 99.84% ( 1222/1224 ), 18 ignored
Lines : 99.49% ( 5860/5890 )
================================================================================
․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․
․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․
․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․
․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․
164 passing (286ms)
npm ERR! Test failed. See above for more details.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment