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

Add files for typescript-eslint #11

Merged
merged 1 commit into from
Oct 29, 2023
Merged

Add files for typescript-eslint #11

merged 1 commit into from
Oct 29, 2023

Conversation

karlhorky
Copy link
Contributor

@karlhorky karlhorky commented Oct 29, 2023

This prevents errors with @typescript-eslint/ packages not being able to receive type information from TypeScript

pnpm eslint . --max-warnings 0

/home/runner/work/upleveled-react-native-expo/upleveled-react-native-expo/guest-list-mobile/.eslintrc.cjs
  0:0  error  Parsing error: ESLint was configured to run on `<tsconfigRootDir>/.eslintrc.cjs` using `parserOptions.project`: <tsconfigRootDir>/tsconfig.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

✖ 1 problem (1 error, 0 warnings)

@hola-soy-milk hola-soy-milk merged commit b961a4e into hola-soy-milk:main Oct 29, 2023
@karlhorky karlhorky deleted the patch-1 branch October 29, 2023 14:07
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