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 👇
3 - Ignored all js files in the step_definitions folder for .eslint.js and tsconfig.json to fix this isue 👇
4 - Format all files with prettier using (npm|pnpm|yarn|bun) prettier --write .
5 - Manually fix type import issues pointed out by Prettier
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 addingparserOptions
property to fix this issue 👇3 - Ignored all js files in the step_definitions folder for
.eslint.js
andtsconfig.json
to fix this isue 👇4 - Format all files with prettier using
(npm|pnpm|yarn|bun) prettier --write .
5 - Manually fix type import issues pointed out by Prettier