Skip to content

Scoped eslint config incorrectly not found

If a scoped eslint config is named simply @scope/eslint-config, npm-check finds the reference in the .eslintrc, but erroneously appends "-eslint-config" to the name and report the package as not installed.

@scope/eslint-config-eslint-config   �  MISSING!  Not installed.
                                     �  PKG ERR!  Not in the package.json. Found in: \.eslintrc.json
                                     ⛔️  NPM ERR!  Registry error Package `@scope/eslint-config-eslint-config` doesn't exist

If the name is changed to append a name, e.g. eslint-config-standard, the package is correctly found with no errors.

See https://github.com/dylang/npm-check/issues/367

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information