Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Eslint error while trying to extent with typescript config #34

Open
alieska-listapad opened this issue Sep 22, 2022 · 1 comment
Open

Comments

@alieska-listapad
Copy link

  "exports": {
    "./angular:recommended": "./eslint-configs/angular-recommended.js",
    "./react:recommended": "./eslint-configs/react-recommended.js",
    "./react-native:recommended": "./eslint-configs/react-native-recommended.js",
    "./rxjs:recommended": "./eslint-configs/rxjs-recommended.js"
  }

If you will try to follow typescript guide you will face with eslint error:
Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './typescript:recommended' is not defined by "exports" in /my-cool-hidden-file-system-lol/package.json

looks like typescript config isn't exported.

@elupanov
Copy link
Member

@mishkolesnikov could you please take a look?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants