{"ava":{"failFast":false,"files":["dist/tests/**/*.js","!dist/tests/**/fixtures/**/*.js"],"timeout":"1m","workerThreads":false},"description":"hint formatter that prints the results using the codeframe style","dependencies":{"@hint/utils":"^7.0.19","@hint/utils-debug":"^1.0.10","@hint/utils-fs":"^1.0.14","@hint/utils-i18n":"^1.0.13","@hint/utils-string":"^1.0.12","@hint/utils-types":"^1.2.0","chalk":"^4.1.2","lodash":"^4.17.21","strip-ansi":"^6.0.0"},"devDependencies":{"@types/proxyquire":"^1.3.28","@types/node":"^17.0.14","@types/sinon":"^10.0.11","@typescript-eslint/eslint-plugin":"^4.33.0","@typescript-eslint/parser":"^4.33.0","ava":"^4.0.1","copyfiles":"^2.4.1","eslint":"^7.32.0","eslint-plugin-import":"^2.26.0","eslint-plugin-markdown":"^2.2.1","npm-run-all":"^4.1.5","nyc":"^15.1.0","proxyquire":"^2.1.3","rimraf":"^3.0.2","sinon":"^13.0.1","typescript":"^4.5.5"},"homepage":"https://webhint.io/","keywords":["hint","hint-formatter","codeframe"],"license":"Apache-2.0","main":"dist/src/formatter.js","name":"@hint/formatter-codeframe","nyc":{"extends":"../../.nycrc"},"peerDependencies":{"hint":"^7.0.0"},"repository":{"directory":"packages/formatter-codeframe","type":"git","url":"git+https://github.com/webhintio/hint.git"},"scripts":{"build":"npm run i18n && npm-run-all build:*","build-release":"npm run clean && npm run i18n && npm run build:assets && tsc --inlineSourceMap false --removeComments true","build:assets":"copyfiles \"./{src,tests}/**/{!(*.ts),.!(ts)}\" dist","build:ts":"tsc -b","clean":"rimraf dist","i18n":"node ../../scripts/create-i18n.js","lint":"npm-run-all lint:*","lint:js":"eslint . --cache --ext .js,.md,.ts --ignore-path ../../.eslintignore","lint:dependencies":"node ../../scripts/lint-dependencies.js","lint:md":"node ../../scripts/lint-markdown.js","test":"npm run i18n && npm run lint && npm run build && npm run test-only","test-only":"nyc ava","test-release":"npm run i18n && npm run lint && npm run build-release && ava","watch":"npm run build && npm-run-all --parallel -c watch:*","watch:assets":"npm run build:assets -- -w --no-initial","watch:test":"ava --watch","watch:ts":"npm run build:ts -- --watch"},"version":"3.1.31","types":"./dist/src/formatter.d.ts","gitHead":"3747703aad67205d4aaac4b74e7f78ed86402c0d","bugs":{"url":"https://github.com/webhintio/hint/issues"},"_id":"@hint/formatter-codeframe@3.1.31","_nodeVersion":"14.20.0","_npmVersion":"8.14.0","dist":{"integrity":"sha512-r1aXQ72535LgDx6ZDbnlGod6rK6i8AASEmh7CEHVyt0Dikjj6x4vHyIJKvHMjAj/bfB+odFuC1byZgdHGtR+bQ==","shasum":"43a0ad5ba6a964904ec8d4f2baadf76919088726","tarball":"http://registry-npm.ywwl.com/@hint/formatter-codeframe/download/@hint/formatter-codeframe-3.1.31.tgz","fileCount":11,"unpackedSize":65705,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCLM+cji+Of3zPUwNFg9TmDC3zmqthOfkPWHkXpJ6CX2gIhAIhQDU+x3cFh+tt9LGsrf55ig87QGlK4JCBpfOV63pXV"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi2yuuACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmp0eg/9E6PFwAIInX1wQAnLAGrq6N3VM1kcQuY/17RuWU8pf4N9eTZF\r\n86cozu8U/W0gB1sZ5aH+wGHO0ARwPhrcsSb+xNPMYBC8cGYOs+xp5DLo7d2F\r\nfUaFxo40ybgqV7TNtToy5hIMJJ/rnKtiuXPE29vUhxCo4KQGT6ocCQk/gxwe\r\nvJaRTvsGY7Jms8lwfN5Q7JnrT40qCqTDfogPfYKf2htKqC9kiUwWEUMT6nCI\r\nW2PUdwCkG8Au60v8WxC9PzbcQw4GII2Wgn3FNGJVeO1ZLlI1LB/DR5LhaR5/\r\na0gS2X7pLwJDTA29QSGxEGztSlxMj42rDVCy4uHRvEq0sndM/GNRtXRi8ciy\r\nuJuLISFvOOiDF2YmeGKLpijXkl0V6uyMpIy0m6JdmGdo9lfUyflc8w/VU9lf\r\n8coC2/MW9y0w5FYSGJjWHFgBe6uwL4zqE8OMbP4BvLEJwTUz4d2LilOfPobB\r\nj9M2l2whdQP8QgWWGOAxBFZ5L5myWvwhffQarWJ1fv6Xc4R3cdOcPsykC0tM\r\nfhLFslKgqklvHadFu7ylOzCqjB+kpX66x7lTA45bhz4UUzQGuq2lNdJWwDsa\r\n9PkxzI1VW/h8LwI0naz5GzxIrnRaAEKl9EaCF851nJ9b3m/ST4gl8wxEDUTD\r\nWxMI+dmgOHF+3mKbfMrpjuqk5s2Pge41ltk=\r\n=TiiT\r\n-----END PGP SIGNATURE-----\r\n","size":49944,"noattachment":false,"key":"/@hint/formatter-codeframe/-/@hint/formatter-codeframe-3.1.31.tgz"},"_npmUser":{"name":"vidorteg","email":"vidorteg@microsoft.com"},"directories":{},"maintainers":[{"name":"leotlee","email":"leolee@microsoft.com"},{"name":"vidorteg","email":"vidorteg@microsoft.com"},{"name":"oaflynn","email":"flynnolivia@microsoft.com"},{"name":"molant","email":"amolleda@gmail.com"},{"name":"antross","email":"antross@gmail.com"},{"name":"johnatms","email":"John.Emau@microsoft.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/formatter-codeframe_3.1.31_1658530734418_0.3681285644602681"},"_hasShrinkwrap":false,"readme":"# Codeframe (`@hint/formatter-codeframe`)\n\nThe `codeframe` formatter shows the results in table format indicating\nthe resource, line and column as well as the part of the code where the\nerror was found (if applicable):\n\n![Example output for the codeframe formatter](images/codeframe-output.png)\n\nTo use it you will have to install it via `npm`:\n\n```bash\nnpm install @hint/formatter-codeframe --save-dev\n```\n\n**Note:** The recommended way of running webhint is as a `devDependency` of\nyour project.\n\nAnd then activate it via the [`.hintrc`][hintrc] configuration file:\n\n```json\n{\n    \"connector\": {...},\n    \"formatters\": [\"codeframe\"],\n    \"hints\": {\n        ...\n    },\n    ...\n}\n```\n\n<!-- Link labels: -->\n\n[hintrc]: https://webhint.io/docs/user-guide/configuring-webhint/summary/\n","publish_time":1658530734603,"_cnpm_publish_time":1658530734603,"dist-tags":{"latest":"3.1.36"}}