Skip to content

Commit 27a7bde

Browse files
committed
Add prettier CI job
1 parent 5b33a55 commit 27a7bde

6 files changed

Lines changed: 685 additions & 96 deletions

File tree

.github/workflows/lint.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,6 @@ jobs:
2727

2828
- name: Run eslint
2929
run: npm run lint
30+
31+
- name: Run prettier
32+
run: npx prettier --check .

.prettierrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"bracketSpacing": true,
88
"htmlWhitespaceSensitivity": "css",
99
"insertPragma": false,
10-
"jsxBracketSameLine": false,
10+
"bracketSameLine": false,
1111
"jsxSingleQuote": true,
1212
"printWidth": 80,
1313
"proseWrap": "always",

0 commit comments

Comments
 (0)