You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
meli/src/terminal
Manos Pitsidianakis 8c671935f9
Add compose (pre-submission) hooks for validation/linting
compose-hooks run before submitting an e-mail.
They perform draft validation and/or transformations.
If a hook encounters an error or warning, it will show up as a notification.
The currently available hooks are:
- past-date-warn
  Warn if Date header value is far in the past or future.
- important-header-warn
  Warn if important headers (From, Date, To, Cc, Bcc) are missing or invalid.
- missing-attachment-warn
  Warn if Subject, draft body mention attachments but they are missing.
- empty-draft-warn
  Warn if draft has no subject and no body.

They can be disabled with [composing.disabled_compose_hooks] setting.
1 year ago
..
embed Clippy fixes 1 year ago
cells.rs Add compose (pre-submission) hooks for validation/linting 1 year ago
color.rs Clippy fixes 1 year ago
embed.rs Replace old logging module with the `log` create 1 year ago
keys.rs Clippy fixes 1 year ago
position.rs Clippy fixes 1 year ago
text_editing.rs Fix clippy lints for `meli` crate 2 years ago