Skip to content

Commit

Permalink
⚙️ config: 提供配置;
Browse files Browse the repository at this point in the history
  • Loading branch information
ruan-cat committed May 10, 2024
1 parent 953c7ad commit 7fcb256
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
2 changes: 0 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -134,5 +134,3 @@ dist

.vercel

# tsconfig.json
# tsconfig.[*].json
9 changes: 5 additions & 4 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
# https://prettier.io/docs/en/ignore.html#ignoring-files-prettierignore

# 忽略掉全部的json文件
**/*.json
# 全部的json文件 都默认不忽略 都要做格式化
!**/*.json

# 全部以tsconfig开头的 尾缀为json的配置文件 都被忽略
tsconfig*.json

# !tsconfig.json
# !tsconfig.[*].json
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"prettier.ignorePath": "../.prettierignore"
}

0 comments on commit 7fcb256

Please sign in to comment.