A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/JoshuaKGoldberg/repros/tree/typescript-eslint-parserOptions-project-string-true below:

GitHub - JoshuaKGoldberg/repros at typescript-eslint-parserOptions-project-string-true

/Users/josh/repos/tseslinttemp/src/a.js
  1:7  error  'a' is assigned a value but never used  @typescript-eslint/no-unused-vars

/Users/josh/repos/tseslinttemp/src/b.ts
  0:0  error  Parsing error: ESLint was configured to run on `<tsconfigRootDir>/src/b.ts` using `parserOptions.project`: /users/josh/repos/tseslinttemp/tsconfig.eslint.json
However, that TSConfig does not include this file. Either:
- Change ESLint's list of included files to not include this file
- Change that TSConfig to include this file
- Create a new TSConfig that includes this file and include it in your parserOptions.project
See the typescript-eslint docs for more info: https://typescript-eslint.io/linting/troubleshooting#i-get-errors-telling-me-eslint-was-configured-to-run--however-that-tsconfig-does-not--none-of-those-tsconfigs-include-this-file

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4