chore: add prettier

This commit is contained in:
2025-01-02 13:23:39 +03:30
parent 09498b6079
commit 219a04deec
13 changed files with 228 additions and 4 deletions

17
.vscode/extensions.json vendored Normal file
View File

@@ -0,0 +1,17 @@
{
"recommendations": [
"cardinal90.multi-cursor-case-preserve",
"christian-kohler.path-intellisense",
"davidanson.vscode-markdownlint",
"editorconfig.editorconfig",
"esbenp.prettier-vscode",
"github.copilot-chat",
"github.vscode-github-actions",
"github.vscode-pull-request-github",
"streetsidesoftware.code-spell-checker-persian",
"streetsidesoftware.code-spell-checker",
"yzhang.markdown-all-in-one",
"gruntfuggly.todo-tree",
"arcanis.vscode-zipfs"
]
}

34
.vscode/settings.json vendored
View File

@@ -1,6 +1,32 @@
{
"prettier.singleQuote": true,
"cSpell.words": [
"wireit"
"cSpell.language": "en,fa,fa-IR",
"editor.codeActionsOnSave": {
"source.fixAll": "explicit"
},
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.formatOnPaste": false,
"editor.formatOnSave": false,
"editor.wordWrapColumn": 120,
"explorer.fileNesting.enabled": true,
"explorer.fileNesting.expand": false,
"git.autoStash": true,
"git.branchProtection": ["next"],
"githubPullRequests.ignoredPullRequestBranches": ["next"],
"npm.packageManager": "yarn",
"prettier.prettierPath": ".yarn/sdks/prettier/index.cjs",
"prettier.useEditorConfig": true,
"search.exclude": {
"**/.pnp.*": true,
"**/.yarn": true,
"**/*.lock": true
},
"typescript.enablePromptUseWorkspaceTsdk": true,
"typescript.tsdk": ".yarn/sdks/typescript/lib",
"cSpell.words": ["nexim"],
"todo-tree.tree.scanMode": "workspace only",
"github.copilot.chat.codeGeneration.instructions": [
{
"file": ".github/copilot-instruction.md"
}
]
}
}