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

chore: add tailwind and astro config to eslintignore #1533

Merged
merged 1 commit into from
Apr 2, 2024

Conversation

corneliusroemer
Copy link
Contributor

Eslint reported these errors in VS Code, this PR fixes them by adding the two config files to eslint ignore.

Error message:

Parsing error: ESLint was configured to run on `<tsconfigRootDir>/astro.config.mjs` using `parserOptions.project`: /users/corneliusromer/code/loculus-bun/website/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-fileeslint

Due to:

```
Parsing error: ESLint was configured to run on `<tsconfigRootDir>/astro.config.mjs` using `parserOptions.project`: /users/corneliusromer/code/loculus-bun/website/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-fileeslint
```
@corneliusroemer corneliusroemer merged commit 5c9ff7c into main Apr 2, 2024
13 checks passed
@corneliusroemer corneliusroemer deleted the eslint-ignore branch April 2, 2024 09:44
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

Successfully merging this pull request may close these issues.

2 participants