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

lint-staged ignoring TS config when invoked by husky #11

Closed
robmorgan-tab opened this issue Nov 24, 2022 · 0 comments · Fixed by #12
Closed

lint-staged ignoring TS config when invoked by husky #11

robmorgan-tab opened this issue Nov 24, 2022 · 0 comments · Fixed by #12
Assignees
Labels
bug Something isn't working

Comments

@robmorgan-tab
Copy link
Contributor

robmorgan-tab commented Nov 24, 2022

I found lint-staged was ignoring the ts config when invoked by husky, turns out other people have seen that too lint-staged/lint-staged#825. Would be nice to find a better solve than passing the opts here but this unblocked me for now.

NB without passing the lib here you get an error pre-push stating that lib must be ES2021 for higher to use String.replaceAll

Originally posted by @Si3rr4wow in #10 (comment)

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