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

Check for Missing Prefix and Automatically Add Prefix #339

Closed
wants to merge 2 commits into from

Conversation

z22919456
Copy link

@z22919456 z22919456 commented May 17, 2024

Check for Missing Prefix and Automatically Add Prefix

Description

Added a check to ensure that className is valid, but forgot to add the prefix.
The autofix feature can automatically add the prefix.
This helps developers who realize they need to add a prefix during development to fix all className instances with this feature's assistance.

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce.
Please also list any relevant details for your test configuration

  • I encountered a situation where I needed this feature during development, so I only tested it manually.
  • Test B

Test Configuration:

  • OS + version: macOS 14.4.1
  • NPM version: 10.2.4
  • Node version: v18.19.1
  • Test project: vite react with chadcn-ui

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • Any dependent changes have been merged and published in downstream modules
  • I have checked my code and corrected any misspellings

@z22919456 z22919456 changed the title Feature: Check is missing prefix and auto add prefix Check is missing prefix and auto add prefix May 17, 2024
@z22919456 z22919456 changed the title Check is missing prefix and auto add prefix Check for Missing Prefix and Automatically Add Prefix May 17, 2024
@z22919456 z22919456 closed this May 17, 2024
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