Files
dioxus/.vscode/settings.json
T
6cc379718b Don't use inline scripts and function constructor (#4310)
* Don't use inline scripts and function constructor.

This allows a stricter Content-Security-Policy which is required for web extensions.

* Load module scripts asynchronously

* Extract common code into method

* Fix injecting loading script

* Append to the file instead of reading and appending to the file string

---------

Co-authored-by: Jonathan Kelley <jkelleyrtp@gmail.com>
Co-authored-by: Evan Almloff <evanalmloff@gmail.com>
2025-06-26 12:08:02 -05:00

27 lines
714 B
JSON

{
"editor.formatOnSave": true,
"[toml]": {
"editor.formatOnSave": false
},
"[handlebars]": {
"editor.formatOnSave": false
},
"[javascript]": {
"editor.formatOnSave": false
},
"[html]": {
"editor.formatOnSave": false
},
"dioxus.formatOnSave": "disabled",
// "rust-analyzer.check.workspace": true,
// "rust-analyzer.check.workspace": false,
// "rust-analyzer.check.features": "all",
// "rust-analyzer.cargo.buildScripts.rebuildOnSave": false,
// "rust-analyzer.check.workspace": false,
// "rust-analyzer.check.allTargets": true,
"rust-analyzer.cargo.features": "all",
"rust-analyzer.check.features": "all",
"rust-analyzer.cargo.extraArgs": [
"--tests"
],
}