Skip to content

Commit 2d5e034

Browse files
Kr0noxEntenwilli
authored andcommitted
fix prettier config issues
1 parent cbcb172 commit 2d5e034

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.github/workflows/checkFormat.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,3 @@ jobs:
2323
npx prettier --check ./**/*.ts
2424
npx prettier --check ./**/*.tsx
2525
npx prettier --check ./**/*.json
26-
npx prettier --check ./**/*.md

.prettierrc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,6 @@
44
"printWidth": 120,
55
"semi": true,
66
"singleQuote": false,
7-
"trailingComma": "all"
7+
"trailingComma": "all",
8+
"endOfLine": "auto"
89
}

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,12 @@
3030
"dev": "vite",
3131
"build": "tsc && vite build",
3232
"preview": "vite preview",
33-
"format": "prettier --write \"./**/*.{html,css,ts,tsx,json,yaml,md}\"",
33+
"format": "prettier --write \"./**/*.{html,css,ts,tsx,json}\"",
3434
"lint": "eslint --max-warnings 0 --no-warn-ignored",
3535
"prepare": "husky"
3636
},
3737
"lint-staged": {
38-
"*.{html,css,ts,tsx,json,md}": [
38+
"*.{html,css,ts,tsx,json}": [
3939
"npm run lint",
4040
"npm run format"
4141
]

0 commit comments

Comments
 (0)