You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -71,12 +71,12 @@ The following settings are supported:
71
71
72
72
## Suppressing diagnostics
73
73
74
-
You can suppress specific validation warnings on a per-line basis by adding a `# yaml-lint-disable` comment on the line immediately before the one producing the diagnostic.
74
+
You can suppress specific validation warnings on a per-line basis by adding a `# yaml-language-server-disable` comment on the line immediately before the one producing the diagnostic.
75
75
76
76
### Suppress all diagnostics on a line
77
77
78
78
```yaml
79
-
# yaml-lint-disable
79
+
# yaml-language-server-disable
80
80
version: 123
81
81
```
82
82
@@ -85,12 +85,12 @@ version: 123
85
85
Provide one or more message substrings (comma-separated, case-insensitive). Only diagnostics whose message contains a matching substring will be suppressed; the rest are kept.
86
86
87
87
```yaml
88
-
# yaml-lint-disable Incorrect type
88
+
# yaml-language-server-disable Incorrect type
89
89
version: 123
90
90
```
91
91
92
92
```yaml
93
-
# yaml-lint-disable Incorrect type, not accepted
93
+
# yaml-language-server-disable Incorrect type, not accepted
0 commit comments