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

eslint error #3518

Closed
bqi343 opened this issue Mar 7, 2023 · 0 comments · Fixed by #3521
Closed

eslint error #3518

bqi343 opened this issue Mar 7, 2023 · 0 comments · Fixed by #3521
Labels
bug Something isn't working

Comments

@bqi343
Copy link
Member

bqi343 commented Mar 7, 2023

This is what I get when I try to commit any changes in src/functions/:

> usaco-guide@0.1.0 lint-staged
> lint-staged

[STARTED] Preparing...
[SUCCESS] Preparing...
[STARTED] Running tasks...
[STARTED] Running tasks for *.{js,ts,jsx,tsx}
[STARTED] Running tasks for *.{js,jsx,ts,tsx,json,md,mdx}
[STARTED] eslint
[STARTED] prettier --write
[SUCCESS] prettier --write
[SUCCESS] Running tasks for *.{js,jsx,ts,tsx,json,md,mdx}
[FAILED] eslint [FAILED]
[SUCCESS] Running tasks...
[STARTED] Applying modifications...
[SKIPPED] Skipped because of errors from tasks.
[STARTED] Reverting to original state because of errors...
[SUCCESS] Reverting to original state because of errors...
[STARTED] Cleaning up...
[SUCCESS] Cleaning up...

✖ eslint:

/Users/benq/Dev/usaco-guide/src/functions/src/submitContactForm.ts
  0:0  error  Parsing error: "parserOptions.project" has been set for @typescript-eslint/parser.
The file does not match your project config: src/functions/src/submitContactForm.ts.
The file must be included in at least one of the projects provided

✖ 1 problem (1 error, 0 warnings)
@bqi343 bqi343 added the bug Something isn't working label Mar 7, 2023
bqi343 added a commit that referenced this issue Mar 7, 2023
@bqi343 bqi343 mentioned this issue Mar 7, 2023
3 tasks
thecodingwizard pushed a commit that referenced this issue Mar 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant