import-js/eslint-plugin-import

regression: no-extraneous-dependencies when lint target file in a module sub-folder containing package.json

開放

#1,270 建立於 2019年1月25日

 (2 則留言) (1 個反應) (0 位負責人)JavaScript (1,548 個分叉)batch import
bughelp wanted

倉庫指標

星標
 (5,940 顆星)
PR 合併指標
 (PR 指標待抓取)

描述

Using node@10.15.0 on OSX. Upgraded eslint-plugin-import from 2.14.0 to 2.15.0. Have a package.json that includes numerous dependencies of the form:

"xyz": "git+ssh://git@github.home.247-inc.net:platform/xyz.git#0.0.8",

When running eslint@5.12.1 I now get errors of the following form:

error 'xyz' should be listed in the project's dependencies. Run 'npm i -S xyz' to add it import/no-extraneous-dependencies

Reverting to 2.14.0, the errors are no longer reported.

貢獻者指南