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

[FEATURE]: Lint & Prettier Configuration Check and Execution #12

Open
helabenkhalfallah opened this issue Oct 21, 2024 · 0 comments
Open
Assignees
Labels
Milestone

Comments

@helabenkhalfallah
Copy link
Member

helabenkhalfallah commented Oct 21, 2024

✨ Description

This feature adds automated checks for Lint and Prettier configuration files within projects on the Vitality platform. If these configurations exist, the feature will automatically execute the corresponding linting and formatting tools, ensuring code quality and consistency.

🚀 Motivation

  • Enforce Code Style.
  • Improve Code Quality.
  • Promote Best Practices.

📝 Proposed Solution

  • Create new Auditor
  • Implement a mechanism to detect the presence of Lint (e.g., ESLint, Stylelint) and Prettier configuration files (e.g., .eslintrc.js, .prettierrc) within projects on the platform.
  • If configuration files are found, automatically trigger the execution of the corresponding linting and formatting tools (e.g., eslint, stylelint, prettier).
  • Capture the output of the linting and formatting tools, including any errors, warnings, or code changes.
  • Process reports.
  • Identify recommendations and keywords.
  • Store reports.
  • Update BFF schemas and resolvers.
  • Frontend Visualisation.

🔗 Relevant Links (if any)

@helabenkhalfallah helabenkhalfallah added the enhancement New feature or request label Oct 21, 2024
@helabenkhalfallah helabenkhalfallah added this to the Vitality 2.0 milestone Oct 21, 2024
@helabenkhalfallah helabenkhalfallah added feature and removed enhancement New feature or request labels Oct 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants