Skip to content

Commit e49b613

Browse files
committed
chore: use prettier
1 parent 98db274 commit e49b613

File tree

4 files changed

+21
-2
lines changed

4 files changed

+21
-2
lines changed

.github/workflows/CI.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,8 @@ jobs:
5252
- name: Install dependencies
5353
run: pnpm install
5454

55-
# - name: Format ✨
56-
# run: pnpm test.format
55+
- name: Format ✨
56+
run: pnpm test.format
5757

5858
- name: Lint ✨
5959
run: pnpm test.lint

.prettierignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
node_modules
2+
pnpm-lock.yaml
3+
package-lock.json
4+
CHANGELOG.md
5+
dist
6+
.mypy_cache

package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@
3939
"devDependencies": {
4040
"eslint": "^7.22.0",
4141
"eslint-config-atomic": "^1.12.4",
42+
"prettier": "^2.2.1",
43+
"prettier-config-atomic": "^1.0.1",
4244
"tempy": "^1.0.1"
4345
},
4446
"providedServices": {
@@ -55,6 +57,7 @@
5557
}
5658
}
5759
},
60+
"prettier": "prettier-config-atomic",
5861
"scripts": {
5962
"format": "prettier --write .",
6063
"test.format": "prettier . --check",

pnpm-lock.yaml

Lines changed: 10 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)