Skip to content

TypeError on 2.17.0 #1322

Closed
Closed
@mlenser

Description

I receive the following error while running eslint based on airbnb on a long-standing project after updating to 2.17.0.

TypeError: (0 , _ignore.getFileExtensions) is not a function
at checkSourceValue (node_modules\eslint-plugin-import\lib\rules\no-useless-path-segments.js:103:60)
at checkSourceValue (node_modules\eslint-module-utils\moduleVisitor.js:29:5)
at checkSource (node_modules\eslint-module-utils\moduleVisitor.js:34:5)
at listeners.(anonymous function).forEach.listener (node_modules\eslint\lib\util\safe-emitter.js:45:58)
at Array.forEach (<anonymous>)
at Object.emit (node_modules\eslint\lib\util\safe-emitter.js:45:38)
at NodeEventGenerator.applySelector (node_modules\eslint\lib\util\node-event-generator.js:251:26)
at NodeEventGenerator.applySelectors (node_modules\eslint\lib\util\node-event-generator.js:280:22)
at NodeEventGenerator.enterNode (node_modules\eslint\lib\util\node-event-generator.js:294:14)
at CodePathAnalyzer.enterNode (node_modules\eslint\lib\code-path-analysis\code-path-analyzer.js:632:23)

using

"eslint": "5.12.0",
"eslint-config-airbnb": "17.1.0",

Perhaps I have some mistake on my end? If more details are needed please let me know,

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions