Skip to content

Commit 2583d36

Browse files
committed
chore: migrate dot files
1 parent a7bd9d2 commit 2583d36

File tree

6 files changed

+29
-2
lines changed

6 files changed

+29
-2
lines changed

.editorconfig

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# EditorConfig is awesome: https://EditorConfig.org
2+
3+
# top-most EditorConfig file
4+
root = true
5+
6+
[*]
7+
indent_style = space
8+
indent_size = 2
9+
end_of_line = lf
10+
charset = utf-8
11+
trim_trailing_whitespace = true
12+
insert_final_newline = true

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
run: pnpm install --frozen-lockfile
3737

3838
- name: ✅ Check types
39-
run: pnpm typecheck
39+
run: pnpm check:type
4040

4141
- name: 🏗️ Build
4242
run: pnpm build

.nvmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
lts/jod

.prettierignore

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
docs/api/
2+
api-spec/
3+
build/
4+
.docusaurus/
5+
node_modules/
6+
pnpm-lock.yaml
7+
static/**/*.webmanifest
8+
old/

.prettierrc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"printWidth": 85,
3+
"tabWidth": 2,
4+
"singleQuote": true
5+
}

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@
1616
"write-heading-ids": "docusaurus write-heading-ids",
1717
"gen-api-docs": "pnpm docusaurus gen-api-docs all",
1818
"clean-api-docs": "pnpm docusaurus clean-api-docs all",
19-
"typecheck": "tsc",
19+
"check:type": "tsc",
20+
"check:format": "prettier --check .",
2021
"format": "prettier --write ."
2122
},
2223
"dependencies": {

0 commit comments

Comments
 (0)