Your editor already knows how to validate YAML, JSON and TOML — it just needs the right schemas.
Ruby gems love configuration files. Between YAML’s ambiguous booleans, invisible whitespace bugs and Ruby’s insistence on the 1.1 spec, those files are a minefield. You won’t know something’s wrong until production tells you.
RubySchema provides JSON Schema definitions for popular gems so your editor can catch mistakes, suggest keys and surface documentation as you type.
bin/rails app:template
LOCATION=https://www.rubyschema.org/rails.rb
Injects schema comments into your Rails config files. Safe to re-run when new schemas are added.
# yaml-language-server: $schema=<url>
{ "$schema": "<url>" }
#:schema <url>