@hint/formatter-codeframe

hint formatter that prints the results using the codeframe style

Stats

stars 🌟issues ⚠️updated 🛠created 🐣size 🏋️‍♀️
3,160300Jun 22, 2021Feb 16, 2017Minified + gzip package size for @hint/formatter-codeframe in KB

Readme

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": {
        ...
    },
    ...
}

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.