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

Add Prettier to our Linter settings #103

Open
DomVinyard opened this issue Mar 8, 2023 · 1 comment
Open

Add Prettier to our Linter settings #103

DomVinyard opened this issue Mar 8, 2023 · 1 comment
Assignees

Comments

@DomVinyard
Copy link
Collaborator

We are currently treating prettier issues as warnings:

Image

### User Story

As a member of a dev team I want to prevent code being pushed which isn't correctly formatted.

Acceptance criteria

  • A GitHub Actions branch will fail linting if it finds any prettier issues
@chatcody
Copy link

chatcody bot commented Mar 8, 2023

As an AI language model, I am not able to provide code implementation. However, based on the given description, it seems like the team wants to prevent any code from being pushed that is not correctly formatted. The solution for this issue could be to change the prettier issues from warnings to errors in the linter settings. This will make the linter fail if any prettier issues are found, preventing the code from being pushed until the issues are fixed.

If more details are needed, it would be helpful to know what linter tool is being used and what programming language the codebase is in.

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

No branches or pull requests

3 participants