Skip to content

Commit

Permalink
docs: fix yaml-lang-server
Browse files Browse the repository at this point in the history
  • Loading branch information
suzuki-shunsuke committed Dec 30, 2024
1 parent d094eea commit ad57fa5
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,18 @@ ajv --spec=draft2020 -s json-schema/tfprovidercheck.json -d tfprovidercheck.yaml

#### Input Complementation by YAML Language Server

[Please see the comment too.](https://github.com/szksh-lab/.github/issues/67#issuecomment-2564960491)

Version: `main`

```yaml
# yaml-language-server: $schema=https://raw.githubusercontent.com/suzuki-shunsuke/tfprovidercheck/main/json-schema/tfprovidercheck.json
```

Or pinning version:

```yaml
# yaml-language-server: $schema=https://raw.githubusercontent.com/suzuki-shunsuke/tfprovidercheck/refs/heads/main/json-schema/tfprovidercheck.json
# yaml-language-server: $schema=https://raw.githubusercontent.com/suzuki-shunsuke/tfprovidercheck/v1.0.2/json-schema/tfprovidercheck.json
```

## Compared with .terraform.lock.hcl and required_providers block
Expand Down

0 comments on commit ad57fa5

Please sign in to comment.