JSPM

  • Created
  • Published
  • Downloads 470
  • Score
    100M100P100Q104434F
  • License Apache-2.0

hint formatter that prints the results using the codeframe style

Package Exports

  • @hint/formatter-codeframe

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@hint/formatter-codeframe) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Codeframe formatter (@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

Note: You can make npm install it as a devDependency using the --save-dev parameter, or to install it globally, you can use the -g parameter. For other options see npm's documentation.

And then activate it via the .hintrc configuration file:

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