@hint/formatter-codeframe
TypeScript icon, indicating that this package has built-in type declarations

3.1.35 • Public • Published

Codeframe (@hint/formatter-codeframe)

The codeframe formatter shows the results in table format indicating the resource, line and column as well as the part of the code where the error was found (if applicable):

Example output for the codeframe formatter

To use it you will have to install it via npm:

npm install @hint/formatter-codeframe --save-dev

Note: The recommended way of running webhint is as a devDependency of your project.

And then activate it via the .hintrc configuration file:

{
    "connector": {...},
    "formatters": ["codeframe"],
    "hints": {
        ...
    },
    ...
}

Package Sidebar

Install

npm i @hint/formatter-codeframe

Homepage

webhint.io/

Weekly Downloads

215

Version

3.1.35

License

Apache-2.0

Unpacked Size

65.7 kB

Total Files

11

Last publish

Collaborators

  • leotlee
  • vidorteg
  • oaflynn
  • molant
  • antross