Stop shipping broken config files. Add editor validation and autocomplete for Ruby project configs in minutes.
RubySchema publishes JSON Schemas for popular Ruby project configuration files. Your editor can catch invalid keys, suggest valid options and show inline docs as you type.
Works with the YAML language server, JSON Schema-aware tooling and editor integrations like VS Code, Neovim and Zed.
21 schemas. Tested against real fixtures.
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>