Skip to content

Fix scalafmt scalafix directory exclusion rule.#331

Merged
zainab-ali merged 2 commits into
typelevel:mainfrom
zainab-ali:scalafmt-scalafix-exclusion
Jun 1, 2026
Merged

Fix scalafmt scalafix directory exclusion rule.#331
zainab-ali merged 2 commits into
typelevel:mainfrom
zainab-ali:scalafmt-scalafix-exclusion

Conversation

@zainab-ali
Copy link
Copy Markdown
Collaborator

The scalafix input and output directories are not excluded properly from scalafmt. This was due to a mistake in the glob patterns.

As a result, scala-steward upgrades of scalafmt would reformat the input and output directories and break the rule tests. Rule tests are only run manually, so we didn't detect this until now.

@zainab-ali zainab-ali marked this pull request as ready for review June 1, 2026 15:47
@zainab-ali zainab-ali merged commit 84c9a49 into typelevel:main Jun 1, 2026
13 checks passed
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