TSLint formatter: codeFrame
Framed formatter which creates a frame of error code.
Prints syntax highlighted code in a frame with a pointer to where exactly lint error is happening.
Sample Output
src/components/Payment.tsx Parentheses are required around the parameters of an arrow function definition (arrow-parens) 21 | public componentDidMount() { 22 | this.input.focus(); > 23 | loadStripe().then(Stripe => Stripe.pay()); | ^ 24 | } 25 | 26 | public render() {