Skip to main content

Crate ecformat

Crate ecformat 

Source

Modules§

cli
Structs for the Command Line Interface commands and options, which are also necessary as parameters for using ecformat as library.
errors
Error types related to EditorConfig.

Functions§

check
Execute the check command. The error in the Result is a errors::CheckErrorList if the check found violations against your EditorConfig. Use a downcast method to check if it is the case and access the errors list.
execute
Execute one of the CLI lib commands. (The other CLI commands are not supported by the lib crate.) See also check and fix.
fix
Execute the fix command.