Skip to content

Add option to skip formatting for React component files#103

Merged
onairmarc merged 2 commits intomainfrom
skip-react
Mar 6, 2026
Merged

Add option to skip formatting for React component files#103
onairmarc merged 2 commits intomainfrom
skip-react

Conversation

@onairmarc
Copy link
Member

This pull request introduces a new configuration option to the formatting pipeline, allowing users to skip formatting for React component files (.tsx and .jsx). The pipeline logic has been updated to respect this setting, ensuring these files are left unmodified when the option is enabled.

Configuration changes:

  • Added a skipReactFiles property to the CoreConfig interface in ConfigTypes.ts, which lets users opt out of formatting React component files.

Formatter pipeline logic:

  • Updated the FormatterPipeline class in FormatterPipeline.ts to check for the skipReactFiles setting and bypass formatting for .tsx and .jsx files if enabled.

@onairmarc onairmarc merged commit 14cc027 into main Mar 6, 2026
@onairmarc onairmarc deleted the skip-react branch March 6, 2026 04:43
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.

1 participant