swc_core::common::errors::emitter

Constant MAX_HIGHLIGHT_LINES

pub const MAX_HIGHLIGHT_LINES: usize = 6; // 6usize
Available on crate feature __common only.
Expand description

maximum number of lines we will print for each error; arbitrary.