eslint / config-inspector

A visual tool for inspecting and understanding your ESLint flat configs.
https://www.npmjs.com/package/@eslint/config-inspector
Apache License 2.0
730 stars 19 forks source link

When soft-linked shared configuration package is used, the message is that the module cannot be found. #81

Closed smallmain closed 3 months ago

smallmain commented 3 months ago

package.json:

  "devDependencies": {
    "eslint-xxx-config": "link:/Users/xxx/config"
  },

eslint.config.js in the project:

import { eslint } from "eslint-xxx-config";

export default [...eslint.config];

The module imported in the shared configuration package is not found. This problem does not occur if the non-soft link is used.

antfu commented 3 months ago

We temporarily closed this due to the lack of enough information. We could not identify whether it was a bug or a userland misconfiguration with the given info. Please provide a minimal reproduction to reopen the issue. Thanks.

Why reproduction is required