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

tool(husky): move all lintstaged config to .lintstagedrc.js #34015

Merged
merged 1 commit into from
Jun 8, 2024

Conversation

OnkarRuikar
Copy link
Contributor

There are two lint-staged config files at the moment .lintstagedrc.js and .lintstagedrc.json. The lint-staged has started accepting only one config (.lintstagedrc.js file and the other one is being ignored). This has completely stopped linting in local dev env.

The PR moves all config to the .js file and deletes the .json file. This puts complete offline linting back on track.

@OnkarRuikar OnkarRuikar requested a review from a team as a code owner June 8, 2024 08:25
@github-actions github-actions bot added system [PR only] Infrastructure and configuration for the project size/s [PR only] 6-50 LoC changed labels Jun 8, 2024
@Josh-Cena Josh-Cena merged commit 582d9d5 into mdn:main Jun 8, 2024
7 checks passed
@OnkarRuikar OnkarRuikar deleted the husky_lintstaged branch June 8, 2024 10:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size/s [PR only] 6-50 LoC changed system [PR only] Infrastructure and configuration for the project
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants