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

Enable a few of the disabled biome rules #2091

Merged
merged 7 commits into from
Mar 2, 2025

Conversation

matthiask
Copy link
Member

@matthiask matthiask commented Mar 1, 2025

Description

During the initial migration to biome I disabled a few rules to keep the code
changes minimal. I reenable some of the less controversial rules here.

The remaining rules are discouraging forEach in favor of for ... of (not done
for now because of the amount of change it introduces) and the discouragement
of assignments in expressions. I want to have a closer look there because the
code reads strange (but it probably isn't).

Checklist:

  • I have added the relevant tests for this change.
  • I have added an item to the Pending section of docs/changes.rst.

Sorry, something went wrong.

Copy link
Member

@tim-schilling tim-schilling left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀

@matthiask matthiask merged commit 47bf0a2 into django-commons:main Mar 2, 2025
25 checks passed
@matthiask matthiask deleted the mk/linting branch March 2, 2025 20:19
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.

None yet

2 participants