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

chore: use tailwindcss eslint plugin to lint it #4213

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

TinsFox
Copy link
Contributor

@TinsFox TinsFox commented May 9, 2024

Description

Use tools to reduce unnecessary errors. This modification adds the eslint plug-in of tailwindcss to limit tailwindcss, which can achieve the following effects

  1. Automatically sort tailwindcss
  2. Remove duplicate classes

The effect is as follows

Export-1715239657890.mp4

Type of Change

Please delete options that are not relevant.

  • Improvement, including but not limited to code refactoring, performance optimization, and UI/UX improvement

How Has This Been Tested?

Feel free to save the file and the plug-in will take effect when saving.

Suggested Checklist:

  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • My changes generate no new warnings
  • I ran dev/reformat(backend) and cd web && npx lint-staged(frontend) to appease the lint gods

@dosubot dosubot bot added size:XS This PR changes 0-9 lines, ignoring generated files. 🔨 feat:tools Tools for agent, function call related stuff. labels May 9, 2024
@takatost takatost requested a review from nite-knite May 9, 2024 13:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🔨 feat:tools Tools for agent, function call related stuff. size:XS This PR changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant