Crate dictator_ruby

Crate dictator_ruby 

Source
Expand description

Ruby hygiene rules implemented as a Dictator decree.

Structs§

RubyConfig
Configuration for ruby decree
RubyHygiene

Functions§

config_from_decree_settings
Convert DecreeSettings to RubyConfig
init_decree
Factory used by host (native or WASM-exported).
init_decree_with_config
Create plugin with custom config
init_decree_with_configs
Create plugin with custom config + supreme config (merged from decree.supreme + decree.ruby)
lint_source
Lint a Ruby source file and emit diagnostics for common hygiene issues.
lint_source_with_config
Lint with custom configuration
lint_source_with_configs