Skip to content

Commit ee0e211

Browse files
committed
fix: vscode jsonc
1 parent 4fa7afc commit ee0e211

File tree

3 files changed

+86
-9
lines changed

3 files changed

+86
-9
lines changed

.gitattributes

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# Don't allow people to merge changes to these generated files, because the result
2+
# may be invalid. You need to run "rush update" again.
3+
pnpm-lock.yaml merge=text
4+
shrinkwrap.yaml merge=binary
5+
npm-shrinkwrap.json merge=binary
6+
yarn.lock merge=binary
7+
8+
# Rush's JSON config files use JavaScript-style code comments. The rule below prevents pedantic
9+
# syntax highlighters such as GitHub's from highlighting these comments as errors. Your text editor
10+
# may also require a special configuration to allow comments in JSON.
11+
#
12+
# For more information, see this issue: https://github.com/microsoft/rushstack/issues/1088
13+
#
14+
*.json linguist-language=JSON-with-Comments

.gitignore

Lines changed: 68 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,74 @@
11
dist/
2-
node_modules
3-
.cache
4-
.DS_Store
5-
lerna-debug.log
6-
yarn-error.log
72
_book
83
.idea
9-
temp
10-
website/build
11-
website/package.json
4+
5+
# Logs & Lock
6+
*.log
7+
npm-debug.log*
8+
yarn-debug.log*
9+
yarn-error.log*
1210
packages/**/package-lock.json
11+
12+
# Runtime data
13+
*.pid
14+
*.seed
15+
*.pid.lock
16+
17+
# Directory for instrumented libs generated by jscoverage/JSCover
18+
lib-cov
19+
20+
# Coverage directory used by tools like istanbul
1321
coverage
22+
23+
# nyc test coverage
24+
.nyc_output
25+
26+
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
27+
.grunt
28+
29+
# Bower dependency directory (https://bower.io/)
30+
bower_components
31+
32+
# node-waf configuration
33+
.lock-wscript
34+
35+
# Compiled binary addons (https://nodejs.org/api/addons.html)
36+
build/Release
37+
38+
# Dependency directories
39+
node_modules/
40+
jspm_packages/
41+
42+
# Cache & Temp
43+
.cache
44+
.eslintcache
45+
.npm
46+
temp
47+
48+
# History
1449
.history/
50+
.node_repl_history
51+
52+
# Output of 'npm pack'
53+
*.tgz
54+
55+
# Yarn Integrity file
56+
.yarn-integrity
57+
58+
# dotenv environment variables file
59+
.env
60+
61+
# next.js build output
62+
.next
63+
64+
# OS X temporary files
65+
.DS_Store
66+
67+
# Rush temporary files
68+
common/deploy/
69+
common/temp/
70+
common/autoinstallers/*/.npmrc
71+
**/.rush/temp/
72+
73+
# Heft
74+
.heft

.vscode/settings.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,8 @@
2020
"jest.autoEnable": false,
2121
"typescript.tsdk": "node_modules/typescript/lib",
2222
"javascript.format.insertSpaceBeforeFunctionParenthesis": true,
23-
"typescript.format.insertSpaceBeforeFunctionParenthesis": true
23+
"typescript.format.insertSpaceBeforeFunctionParenthesis": true,
24+
"files.associations": {
25+
"*.json": "jsonc"
26+
}
2427
}

0 commit comments

Comments
 (0)