Skip to content

Commit 33d9bb9

Browse files
committed
chore: update gitattr and added vscode config
1 parent abb5fcf commit 33d9bb9

File tree

3 files changed

+77
-1
lines changed

3 files changed

+77
-1
lines changed

.gitattributes

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
.gitignore merge=ours
22
* text eol=lf
3-
/.vscode export-ingore
3+
/.vscode export-ignore
44
lefthook.yml export-ignore

.vscode/extensions.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"recommendations": [
3+
"junstyle.php-cs-fixer",
4+
"bmewburn.vscode-intelephense-client"
5+
]
6+
}

.vscode/settings.json

Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
1+
{
2+
"php-cs-fixer.onsave": true,
3+
"php-cs-fixer.executablePath": "${workspaceFolder}/vendor/bin/php-cs-fixer",
4+
"php-cs-fixer.documentFormattingProvider": true,
5+
"php-cs-fixer.executablePathWindows": "${workspaceFolder}\\vendor\\bin\\php-cs-fixer.bat",
6+
"php-cs-fixer.config": ".php-cs-fixer.php",
7+
"search.useGlobalIgnoreFiles": false,
8+
"search.useParentIgnoreFiles": false,
9+
"prettier.enable": true,
10+
"editor.defaultFormatter": "esbenp.prettier-vscode",
11+
"editor.formatOnSave": true,
12+
"editor.codeActionsOnSave": {
13+
"source.fixAll.eslint": "explicit"
14+
},
15+
"stylelint.snippet": ["css", "scss"],
16+
"stylelint.validate": ["css", "scss", "postcss"],
17+
"files.eol": "\n",
18+
"search.exclude": {
19+
"**/.git": true,
20+
"**/.github": true,
21+
"**/.nuxt": true,
22+
"**/.output": true,
23+
"**/.pnpm": true,
24+
"**/.vscode": true,
25+
"**/.yarn": true,
26+
"**/bower_components": true,
27+
"**/dist/**": true,
28+
"**/logs": true,
29+
"**/node_modules": true,
30+
"**/out/**": true,
31+
"**/package-lock.json": true,
32+
"**/pnpm-lock.yaml": true,
33+
"**/tmp": true,
34+
"**/yarn.lock": true
35+
},
36+
"typescript.tsdk": "node_modules\\typescript\\lib",
37+
"css.lint.validProperties": ["composes"],
38+
"cSpell.words": [
39+
"antd",
40+
"autoload",
41+
"bitapps",
42+
"commitlint",
43+
"compat",
44+
"cssinjs",
45+
"dealerdirect",
46+
"friendsofphp",
47+
"immer",
48+
"incstr",
49+
"intelephense",
50+
"lefthook",
51+
"Lucide",
52+
"phpcodesniffer",
53+
"phpcompatibility",
54+
"phpcs",
55+
"phpunit",
56+
"pnpm",
57+
"Popconfirm",
58+
"Sider",
59+
"sirbrillig",
60+
"stylelint",
61+
"testdox",
62+
"yoast"
63+
],
64+
"[typescript, javascript, typescriptreact, json, css]": {
65+
"editor.defaultFormatter": "esbenp.prettier-vscode"
66+
},
67+
"[php]": {
68+
"editor.defaultFormatter": "junstyle.php-cs-fixer"
69+
}
70+
}

0 commit comments

Comments
 (0)