Skip to content

Conversation

@Conaclos
Copy link
Member

@Conaclos Conaclos commented May 12, 2025

Summary

Currently, useNamingConvention is associated to two groups: style for the JS rule and niursery for the GraphQL rule.
This breaks the assumption that a rule is associated to a single group.
This leads the rule mover to unpromote style/useNamingConvention to nursery/useNamingConvention.

Unfortunately we can promote the GraphQL rule because the rule options are incompatible at the moment.

As a temporary fix of the rule mover, I added a hardcoded exception for useNamingConvention.

Test Plan

I updated the snapshots

@Conaclos Conaclos force-pushed the conaclos/ruleMover-useNamingConvention-exception branch from c45419b to 4f689f9 Compare May 12, 2025 21:13
@github-actions github-actions bot added the A-CLI Area: CLI label May 12, 2025
@Conaclos Conaclos force-pushed the conaclos/ruleMover-useNamingConvention-exception branch from 4f689f9 to 9ea5329 Compare May 12, 2025 21:14
@Conaclos Conaclos merged commit 621ba17 into main May 12, 2025
13 checks passed
@Conaclos Conaclos deleted the conaclos/ruleMover-useNamingConvention-exception branch May 12, 2025 21:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-CLI Area: CLI

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants