Skip to content

Commit

Permalink
Set filetypes to run prettier on
Browse files Browse the repository at this point in the history
  • Loading branch information
coderofstuff committed Jun 21, 2023
1 parent ba13c7a commit 0b29fe2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,4 @@ jobs:
with:
eslint: true
prettier: true
prettier_args: "--config ./.prettierrc"
prettier_args: "--check './**/*.{js,jsx,ts,tsx,css,json}' --config ./.prettierrc"
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"build": "next build",
"start": "next start",
"lint": "next lint",
"format": "prettier --write './**/*.{js,jsx,ts,tsx,css,md,json}' --config ./.prettierrc"
"format": "prettier --write './**/*.{js,jsx,ts,tsx,css,json}' --config ./.prettierrc"
},
"dependencies": {
"@emotion/react": "^11.11.0",
Expand Down

0 comments on commit 0b29fe2

Please sign in to comment.