Skip to content

.fallowrc.json prohibits $schema property. #39

@ao-Barbosa

Description

@ao-Barbosa

What happened?

When loading the json rc configuration schema, the $schema itself then becomes an issue as it isn't declared on the schema.

Reproduction

  1. run fallow init or create .fallowrc.json with $schema
  2. schema declaration doesn't include the $schema property itself
  3. JSON LSP then points to "$schema" being an unknown key

Expected behavior

"$schema" is a valid recognized json key.

Fallow version

2.11.0

Operating system

Windows

Configuration

{
  "$schema": "https://raw.githubusercontent.com/fallow-rs/fallow/main/schema.json"
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions