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

Fix no-restricted-syntax not applying to some files #632

Merged
merged 1 commit into from
Jul 6, 2022
Merged

Conversation

Janpot
Copy link
Member

@Janpot Janpot commented Jul 6, 2022

Not sure why, but this rule was added to each override instead of the just to the base rules. That made it not apply to files that didn't have an override. This PR moves it to the eslint rules config.

I also removed to overrides augmentation altogether and just added one final override that nullifies that problematic rule in base config. Otherwis it would reset no-restricted-syntax for every override, which we don't want.

@render
Copy link

render bot commented Jul 6, 2022

@oliviertassinari oliviertassinari requested a deployment to eslintrc - toolpad-db PR #632 July 6, 2022 08:42 — with Render Abandoned
@Janpot Janpot merged commit 3e578c9 into master Jul 6, 2022
@Janpot Janpot deleted the eslintrc branch July 6, 2022 09:34
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