babel/packages/babel-code-frame
Simen Bekkhus 2d35f5a8f7
fix(code-frame): do not pad gutter of empty lines (#12567)
* fix(code-frame): do not pad gutter of empty lines

* Add workaround for expected Jest e2e test failure

Co-authored-by: Nicolò Ribaudo <nicolo.ribaudo@gmail.com>
2020-12-29 15:26:13 +01:00
..
2017-03-25 21:46:16 -04:00
2020-12-16 00:55:11 +01:00

@babel/code-frame

Generate errors that contain a code frame that point to source locations.

See our website @babel/code-frame for more information.

Install

Using npm:

npm install --save-dev @babel/code-frame

or using yarn:

yarn add @babel/code-frame --dev