Skip to content

Commit c73ef8e

Browse files
Simon Heatherdatho7561
authored andcommitted
Rename yaml-lint-disable to yaml-language-server-disable
1 parent 03124f3 commit c73ef8e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -71,12 +71,12 @@ The following settings are supported:
7171

7272
## Suppressing diagnostics
7373

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.
7575

7676
### Suppress all diagnostics on a line
7777

7878
```yaml
79-
# yaml-lint-disable
79+
# yaml-language-server-disable
8080
version: 123
8181
```
8282
@@ -85,12 +85,12 @@ version: 123
8585
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.
8686
8787
```yaml
88-
# yaml-lint-disable Incorrect type
88+
# yaml-language-server-disable Incorrect type
8989
version: 123
9090
```
9191
9292
```yaml
93-
# yaml-lint-disable Incorrect type, not accepted
93+
# yaml-language-server-disable Incorrect type, not accepted
9494
version: 123
9595
```
9696

0 commit comments

Comments
 (0)