Skip to content

Use "additionalProperties": false in the configuration JSONSchema #2200

Closed
@cmaglie

Description

@cmaglie

Describe the request

from @kittaakos:

I have noticed that the additionalProperties is absent from the schema. Hence, when generating types downstream, arbitrary properties are valid. Are they valid? In other words, is the "additionalProperties": false missing on purpose?

Describe the current behavior

If an extraneous property is present in the config file of the CLI it is not detected as "wrong".

Arduino CLI version

nightly

Operating system

N/A

Operating system version

N/A

Additional context

No response

Issue checklist

  • I searched for previous requests in the issue tracker
  • I verified the feature was still missing when using the nightly build
  • My request contains all necessary details

Metadata

Metadata

Labels

topic: codeRelated to content of the project itselftype: enhancementProposed improvement

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions