7.0.0 • Published 1 year ago

@putout/formatter-codeframe v7.0.0

Weekly downloads
3,129
License
MIT
Repository
github
Last release
1 year ago

@putout/formatter-codeframe NPM version

🐊Putout formatter shows codeframe of file with an errors.

Install

npm i putout @putout/formatter-codeframe

Usage

putout --format codeframe lib

Possible output:

/home/coderaiser/putout/packages/putout/lib/putout.js:3:0
  1 | 'use strict';
  2 |
> 3 | debugger;
    | ^ Unexpected "debugger" statement
  4 |
  5 | const recast = require('recast');
  6 | const toBabel = require('estree-to-babel');

✖ 1 errors in 1 files
  fixable with the `--fix` option

License

MIT

7.0.0

1 year ago

6.0.0

2 years ago

5.0.2

2 years ago

5.0.1

2 years ago

5.0.0

2 years ago

4.0.1

3 years ago

4.0.0

3 years ago

3.0.1

4 years ago

3.0.0

4 years ago

2.0.4

5 years ago

2.0.3

5 years ago

2.0.2

5 years ago

2.0.1

5 years ago

2.0.0

5 years ago

1.1.1

6 years ago

1.1.0

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago