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

Allow for parserOptions.project to also accept configuration #406

Closed
kacpak opened this issue Apr 5, 2019 · 1 comment
Closed

Allow for parserOptions.project to also accept configuration #406

kacpak opened this issue Apr 5, 2019 · 1 comment
Labels
enhancement New feature or request package: parser Issues related to @typescript-eslint/parser

Comments

@kacpak
Copy link

kacpak commented Apr 5, 2019

What code were you trying to parse?
n/a

What did you expect to happen?
I would like to also be able to provide object with configuration (content of tsconfig) to parserOptions.project instead of only file path. In my current project we use custom 'sdk' for building frontend packages and we don't provide tsconfig for each of them - rather we use ts-loader to inject configuration from the code.

What actually happened?
I can only specify a path to configuration

Versions

package version
@typescript-eslint/parser 1.6.0
TypeScript 3.3.3333
ESLint 5.16.0
node 8.11.2
npm 6.8.0
@kacpak kacpak added package: parser Issues related to @typescript-eslint/parser triage Waiting for maintainers to take a look labels Apr 5, 2019
@bradzacher bradzacher added enhancement New feature or request and removed triage Waiting for maintainers to take a look labels Apr 7, 2019
@bradzacher
Copy link
Member

closing in favour of #1613

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 25, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request package: parser Issues related to @typescript-eslint/parser
Projects
None yet
Development

No branches or pull requests

2 participants