Skip to content

Commit 1ebf82d

Browse files
committed
Add recommendations for vscode
1 parent 7eeaf96 commit 1ebf82d

File tree

4 files changed

+34
-36
lines changed

4 files changed

+34
-36
lines changed

.editorconfig

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
[*]
2+
tab_width = 4
3+
indent_size = 4
4+
trim_trailing_whitespace = true
5+
insert_final_newline = false

.vscode/extensions.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"recommendations": [
3+
"streetsidesoftware.code-spell-checker",
4+
"editorconfig.editorconfig",
5+
"foxundermoon.shell-format"
6+
]
7+
}

.vscode/settings.json

Lines changed: 10 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,12 @@
11
{
2-
"vetur.format.defaultFormatter.html": "js-beautify-html",
3-
"vetur.format.defaultFormatter.js": "vscode-typescript",
4-
"vetur.format.defaultFormatterOptions": {
5-
"js-beautify-html": {
6-
"wrap_attributes": "force-aligned"
7-
}
8-
},
9-
"editor.tabSize": 4,
10-
"editor.formatOnSave": true,
11-
"editor.codeActionsOnSave": {
12-
"source.fixAll": true
13-
},
14-
"prettier.eslintIntegration": true,
15-
"prettier.semi": false,
16-
"prettier.singleQuote": true,
17-
"javascript.format.insertSpaceBeforeFunctionParenthesis": true,
18-
"cSpell.words": [
19-
"Echart",
20-
"cond",
21-
"countup",
22-
"daterange",
23-
"dkdhhcbjijekmneelocdllcldcpmekmm",
24-
"emsp",
25-
"ensp",
26-
"fepjgblalcnepokjblgbgmapmlkgfahc"
27-
]
2+
"editor.tabSize": 4,
3+
"editor.formatOnSave": true,
4+
"editor.codeActionsOnSave": {
5+
"source.fixAll": "always"
6+
},
7+
"javascript.format.insertSpaceBeforeFunctionParenthesis": true,
8+
"cSpell.words": [
9+
"echarts",
10+
"Hengyang"
11+
],
2812
}

script/zip.sh

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,17 @@
11
#!/bin/bash
22

3-
FOLDER=$(cd "$(dirname "$0")/.."; pwd)
3+
FOLDER=$(
4+
cd "$(dirname "$0")/.."
5+
pwd
6+
)
47
TARGET_PATH="${FOLDER}/aaa"
58

69
tar -zcvf ${TARGET_PATH} \
7-
--exclude=dist*/ \
8-
--exclude=.git/ \
9-
--exclude=package-lock.json \
10-
--exclude=node_modules \
11-
--exclude=firefox_dev*/ \
12-
--exclude=market_packages \
13-
--exclude=aaa \
14-
./
15-
10+
--exclude=dist*/ \
11+
--exclude=.git/ \
12+
--exclude=package-lock.json \
13+
--exclude=node_modules \
14+
--exclude=firefox_dev*/ \
15+
--exclude=market_packages \
16+
--exclude=aaa \
17+
./

0 commit comments

Comments
 (0)