golangci/golangci-lint

godot: "noinline" option is not present in json schema

Closed this issue · 3 comments

Welcome

  • Yes, I'm using a binary release within 2 latest releases. Only such installations are supported.
  • Yes, I've searched similar issues on GitHub and didn't find any.
  • Yes, I've read the typecheck section of the FAQ.
  • Yes, I've tried with the standalone linter if available (e.g., gocritic, go vet, etc.).
  • I agree to follow this project's Code of Conduct

How did you install golangci-lint?

go install

Description of the problem

godot: "noinline" option is not present in json schema of godot settings and hence vscode fails to recognize and validate that option setting in yml file.

The PR where godots 1.5.0 was merged: #5420

Crosschecked schema files in toplevel jsonschema folder.

Version of golangci-lint

golangci-lint has version 2.1.6 built with go1.24.2 from eabc2638 on 2025-05-04T15:41:19Z

Configuration

linters:
  settings:
    godot:
      # Comments to be checked: `declarations`, `toplevel`, `noinline` or `all`.
      # Default: declarations
      # This is shown as error in jsonschema validated against:  https://golangci-lint.run/jsonschema/golangci.jsonschema.json
      scope: noinline
      capital: true
# paste configuration file or CLI flags here

Go environment

go version go1.24.2 linux/amd64

Verbose output of running

$ golangci-lint cache clean
$ golangci-lint run -v
# paste output here

A minimal reproducible example or link to a public repository

NA

Validation

  • Yes, I've included all information above (version, config, etc.).

Supporter

Hey, thank you for opening your first Issue ! 🙂 If you would like to contribute we have a guide for contributors.

ldez commented

noinline is not a dedicated option but a value of scope.

I will update the JSON schema.

Thank you !!!