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/1824 format all the files with prettier #691

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

Conversation

RichardBray
Copy link
Contributor

@RichardBray RichardBray commented Sep 27, 2023

Description

The purpose of this PR is to format all the code with prettier so that it is possible to use the commit hooks without getting any errors.

Steps taken

1 - Prevent Prettier from checking .njk files by adding a .prettierignore
2 - Update .eslint.js file by adding parserOptions property to fix this issue 👇

Screenshot 2023-09-28 at 10 58 47

3 - Ignored all js files in the step_definitions folder for .eslint.js and tsconfig.json to fix this isue 👇

Screenshot 2023-09-28 at 11 02 21

4 - Format all files with prettier using (npm|pnpm|yarn|bun) prettier --write .

5 - Manually fix type import issues pointed out by Prettier

@RichardBray RichardBray self-assigned this Sep 27, 2023
@RichardBray RichardBray changed the title Format all the files with prettier Chore/1824 format all the files with prettier Sep 27, 2023
@RichardBray RichardBray marked this pull request as ready for review September 28, 2023 10:35
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