fix: Put style lints behind disabled-by-default config

This commit is contained in:
Lukas Wirth 2024-03-05 11:41:46 +01:00
parent ce3216e0ae
commit 8844640c6f
7 changed files with 66 additions and 20 deletions

View file

@ -948,6 +948,11 @@
"default": {},
"type": "object"
},
"rust-analyzer.diagnostics.styleLints.enable": {
"markdownDescription": "Whether to run additional style lints.",
"default": false,
"type": "boolean"
},
"rust-analyzer.diagnostics.warningsAsHint": {
"markdownDescription": "List of warnings that should be displayed with hint severity.\n\nThe warnings will be indicated by faded text or three dots in code\nand will not show up in the `Problems Panel`.",
"default": [],