Regression build failure in no-dupe-keys #6886
Labels
accepted
There is consensus among the team that this change meets the criteria for inclusion
archived due to age
This issue has been archived; please open a new issue for any further discussion
bug
ESLint is working incorrectly
rule
Relates to ESLint's core rules
Regression build failed overnight with the changes made to
no-dupe-key
rule yesterday. It failed while running tests ofeslint-plugin-import
, below is the log:eslint-plugin-import
v3.2.2
CLI regression tests
issue #210
getExports
importType(name)
parse(content, { settings, ecmaFeatures })
resolve
package
default
valid
export
valid
extensions
valid
import packageConfig from "./package.json"
import component from "./bar.jsx"
import data from "./bar.json"
import packageConfig from "./package"
import component from "./bar.jsx"
import data from "./bar.json"
import component from "./bar.jsx"
import data from "./bar.json"
imports-first
valid
named
valid
namespace
valid
newline-after-import
valid
var foo = require('foo');
import foo from 'foo';
var bar = 42;
var foo = 'bar';
var foo = 'bar';
var foo = 'bar';
import { bar } from './bar-lib';
var a = 123;
import { bar } from './bar-lib';
var a = 123;
var bar = require('bar-lib');
invalid
export default function() {};
var something = 123;
var a = 123;
import { bar } from './bar-lib';
var b=456;
var a = 123;
var bar = require('bar-lib');
var b=456;
var a = 123;
require('bar-lib');
var b=456;
var foo = require('foo');
var bar = 42;
var foo = require('foo');
var bar = 42;
var assign = Object.assign || require('object-assign');
var foo = require('foo');
var bar = 42; }
foo(require('b'), require('c'), require('d'));
require('d');
var foo = 'bar';
foo(
require('b'),
require('c'),
require('d')
);
var foo = 'bar';
import foo from 'foo';
var bar = 42;
no-amd
valid
no-commonjs
valid
no-deprecated
valid
no-deprecated: hoisting
valid
no-duplicates
valid
no-extraneous-dependencies
valid
no-mutable-exports
valid
export { count }
export { count as counter }
export default count
export { count as default }
export { getCount }
export { getCount as getCounter } (79ms)
export default getCount
export { getCount as default }
export { Counter }
export { Counter as Count }
export default Counter
export { Counter as default }
export { count }
export { count }
export { count as counter }
export { count as counter }
export default count
export default count
no-named-as-default-member
valid
no-named-as-default
valid
no-namespace
valid
no-nodejs-modules
valid
no-restricted-paths
valid
import c from "./c"
no-unresolved (node)
valid
issue #333 (node)
valid
no-unresolved (webpack)
valid
issue #333 (webpack)
valid
no-unresolved (import/resolve legacy)
valid
no-unresolved (webpack-specific)
valid
no-unresolved ignore list
valid
no-unresolved unknown resolver
invalid
no-unresolved electron
valid
no-unresolved syntax verification
valid
order
valid
prefer-default-export
valid
781 passing (11s)
--------------------------------|----------|----------|----------|----------|----------------|
Cannot read property 'isPropertyDefined' of null
TypeError: Cannot read property 'isPropertyDefined' of null
at EventEmitter.Property (/var/lib/jenkins/workspace/Regression Build/eslint-plugin-import/node_modules/eslint/lib/rules/no-dupe-keys.js:116:25)
at emitOne (events.js:77:13)
at EventEmitter.emit (events.js:169:7)
at NodeEventGenerator.enterNode (/var/lib/jenkins/workspace/Regression Build/eslint-plugin-import/node_modules/eslint/lib/util/node-event-generator.js:40:22)
at CodePathAnalyzer.enterNode (/var/lib/jenkins/workspace/Regression Build/eslint-plugin-import/node_modules/eslint/lib/code-path-analysis/code-path-analyzer.js:608:23)
at CommentEventGenerator.enterNode (/var/lib/jenkins/workspace/Regression Build/eslint-plugin-import/node_modules/eslint/lib/util/comment-event-generator.js:97:23)
at Controller.traverser.traverse.enter (/var/lib/jenkins/workspace/Regression Build/eslint-plugin-import/node_modules/eslint/lib/eslint.js:895:36)
at Controller.__execute (/var/lib/jenkins/workspace/Regression Build/eslint-plugin-import/node_modules/eslint/node_modules/estraverse/estraverse.js:397:31)
at Controller.traverse (/var/lib/jenkins/workspace/Regression Build/eslint-plugin-import/node_modules/eslint/node_modules/estraverse/estraverse.js:501:28)
at Controller.Traverser.controller.traverse (/var/lib/jenkins/workspace/Regression Build/eslint-plugin-import/node_modules/eslint/lib/util/traverser.js:36:33)
npm ERR! Linux 3.16.0-4-amd64
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "run" "test"
npm ERR! node v4.4.7
npm ERR! npm v2.15.8
npm ERR! code ELIFECYCLE
npm ERR! eslint-plugin-import@1.12.0 posttest:
eslint ./src
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the eslint-plugin-import@1.12.0 posttest script 'eslint ./src'.
npm ERR! This is most likely a problem with the eslint-plugin-import package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! eslint ./src
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs eslint-plugin-import
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!
npm ERR! npm owner ls eslint-plugin-import
npm ERR! There is likely additional logging output above.
@mysticatea Could you take a quick look please?
The text was updated successfully, but these errors were encountered: