Skip to content

Commit

Permalink
Minor code refactoring and adjust Prettier warnings to error
Browse files Browse the repository at this point in the history
  • Loading branch information
johnnadeluy committed Feb 2, 2024
1 parent 8228820 commit 68cfb01
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ module.exports = {
{ allowConstantExport: true },
],
'prettier/prettier': [
'warn',
'error',
{},
{
usePrettierrc: true,
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build-and-lint-on-pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ jobs:
- name: Build application
run: npm run build

- name: Autofix ESLint and Prettier errors/warnings
- name: Autofix ESLint and Prettier warnings
run: npm run lint:fix && npm run lint:format

- name: Check for more ESLint errors/warnings
- name: Check for more ESLint warnings
run: npm run lint

0 comments on commit 68cfb01

Please sign in to comment.