Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"recommendations": [
Comment thread
daker marked this conversation as resolved.
"EditorConfig.EditorConfig",
"yoavbls.pretty-ts-errors"

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same idea - IMHO, this is very much user-preference.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is only to inform users about the recommended VS Code extensions. Without EditorConfig.EditorConfig, the .editorconfig file in the project will not be applied, which can lead to PR issues such as incorrect EOLs, indentation, and other formatting inconsistencies.

]
}
16 changes: 16 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
Comment thread
daker marked this conversation as resolved.
"diffEditor.diffAlgorithm": "advanced",
"diffEditor.experimental.showMoves": true,
"editor.rulers": [80, 120],
"editor.insertSpaces": true,
"editor.tabSize": 2,
"editor.trimAutoWhitespace": true,
"files.trimTrailingWhitespace": true,
"files.eol": "\n",
"files.insertFinalNewline": true,
"files.trimFinalNewlines": true,
"js/ts.inlayHints.parameterNames.enabled": "all",
"js/ts.inlayHints.variableTypes.enabled": true,
"js/ts.preferGoToSourceDefinition": true,
"workbench.editor.labelFormat": "short"
}
13 changes: 13 additions & 0 deletions jsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"compilerOptions": {
"ignoreDeprecations": "6.0",
"checkJs": false,
"baseUrl": ".",
"moduleResolution": "bundler",
Comment thread
daker marked this conversation as resolved.
"paths": {
"vtk.js/Sources/*": ["Sources/*/index.js", "Sources/*.js", "Sources/*"],
"vtk.js/*": ["./*"]
}
},
"include": ["Sources/**/*.js", "Examples/**/*.js", "Utilities/**/*.js"]
}
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,6 @@
"build:esm": "npm run build:pre && cross-env BUILD_TARGET=esm vite build",
"build:umd": "npm run build:pre && cross-env BUILD_TARGET=umd vite build",
"build:release": "npm run lint && npm run build",
"release:create-packages": "node ./Utilities/ci/build-npm-package.js",
Comment thread
daker marked this conversation as resolved.
"test": "vitest run",
"test:watch": "vitest",
"test:debug": "vitest run --reporter=verbose",
Expand Down
Loading