Closed zikaari closed 1 year ago
@zikaari The solution is not #38 but to follow the example project instead. https://github.com/idahogurl/vs-code-prettier-eslint/blob/master/examples/typescript/.eslintrc.js
You'll need to name your ESLint config file as .eslintrc.js
file. Then set parserOptions
with
project: "./tsconfig.json",
tsconfigRootDir: __dirname
This issue is stale because it has been open for 14 days with no activity.
This issue was closed because it has been inactive for 14 days since being marked as stale.
@idahogurl For me adding just parserOptions: { tsconfigRootDir: __dirname },
was enough. Would it be possible to skip that part? I would prefer to have more minimalistic config.
Exact same issue as https://github.com/idahogurl/vs-code-prettier-eslint/issues/38, except in my case I can't use the fix that OP did which is to avoid using
parserOptions.project
.Nothing surfaces to the
Output
panel.prettier-eslint --write **/*.ts
works as expected without any problems.The updated context information is updated below:
Versions:
System Specifications:
Additional context Add any other context about the problem here.