Add JSON Schema for Configuration File
IDE Extensions like Even Better TOML in VSCode use JSON Schema for validating TOML configurations. This pull request adds a JSON Schema for the .air.toml configuration file that can be placed in the root of projects.
This file can then be consumed by these extensions from the GitHub project.
thank you, i wanna know, if we add more options, we need to change this file as well, right?
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:
:rocket: New features to boost your workflow:
- :snowflake: Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
- :package: JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.
Ah... I should've checked this repo first... I opened a PR to jsonschemastore to add this
@xiantang thats my understanding
Please someone accept this one, I can't see this.
Are those required fields actually required? I was under the impression everything was optional. At least I don't have any problems running air with a completely empty config file.
@drewdomi: As a temporary workaround you can add this schema directive to the top of your .air.toml file:
#:schema https://raw.githubusercontent.com/air-verse/air/0a3f56961f682c08c2d012dbf828188b4e12e854/air.schema.json
or basically disable schema checking by setting it to "any":
#:schema https://json.schemastore.org/any.json
Why this one is not getting approved ?