mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-11-01 20:31:59 +00:00
fix: Put style lints behind disabled-by-default config
This commit is contained in:
parent
ce3216e0ae
commit
8844640c6f
7 changed files with 66 additions and 20 deletions
|
|
@ -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": [],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue