{"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.15","@hint/utils-debug":"^1.0.9","@hint/utils-fs":"^1.0.12","@hint/utils-i18n":"^1.0.11","@hint/utils-string":"^1.0.11","@hint/utils-types":"^1.1.6","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.25.4","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":"^6.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.27","types":"./dist/src/formatter.d.ts","gitHead":"ed090aaf89fa89e6575bca6c116251a40266ae8c","bugs":{"url":"https://github.com/webhintio/hint/issues"},"_id":"@hint/formatter-codeframe@3.1.27","_nodeVersion":"16.14.2","_npmVersion":"8.5.0","dist":{"integrity":"sha512-JFjRITVgUj8/MWC5tASwT788cept+Rfg+uY5kBo0XZzXB7lomp9ISETZOpWqVajeu25Edb/yI8HBSsgzk8Y1pg==","shasum":"73efe1b31016ebfa54a3493275c5950074f8ab1f","tarball":"http://registry-npm.ywwl.com/@hint/formatter-codeframe/download/@hint/formatter-codeframe-3.1.27.tgz","fileCount":11,"unpackedSize":65704,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQChHvShrFf4b0HNKtg2T0ymRtNPzuopcMg8+tY4rIFtgQIgS6iSp+xF2apRQsHwuNt30ZmPS9ZRnbX/+T7Bl2QGcqI="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiaG3HACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqIlQ/9Gc6mO9NrhT73+AZp7OqoTYNa50V18oYggVlCSL2oy9V1tPuq\r\nLhOoXhlp5sbNeltIzY6SFAu8wMu1Rb37OjsEaE9RgtZrAQwtbmhP5HeROwZ8\r\n3zXjt9YxNqZRae2k/iH7RaHqgZB07p+1ml7rCDv/eDA8/rHAcGBz925Lwt4I\r\nkakff1ISxvSBmYpFIEEQMl/1N+gohqSUsYAlAExC+CA1oX1uABzVtoQAK234\r\nGgKdQS+v+SmLtegKkPmKknn4sy4Fx56j7NY+7WtMPGQgwdDCLq5nzk4blp/r\r\nq5q0wWX/MUoYTM+bfqU+jX/GX44RpJqECWxIC+PBaiAsyp6hUkzC+5hJzO8I\r\nPKlTFhF/cNQIEpNaS8o3ASd9o6H7JKTt3fR9xvixX8w+7fm0RAOfp/UY000K\r\nSOK5BXP4IA9N3aMI1ZcBfWYPuILObbz6Cfl9XAudDj5slQxqKwX917IV74tG\r\n5tWJz53XJQZUYwyKSZfXtn7pqlJ42d6KxDEl5YnShr5hsqo4aCDw/HwCNOnW\r\nAg/x2cznOGbqD5smeZdL3CxBSGZpcJeDzORdxtpZlNfkCu/yUzTfX/SjwtkW\r\nWKMQG3GfiDFnZoDr3FNbDxwJcZlOKCFziVjUzLZ3OGwp7IlNIm0bDIKDYU87\r\nNm2GvVpFNbB+GtS93rx0nCrJJw/NeCkm3Pw=\r\n=cbJ0\r\n-----END PGP SIGNATURE-----\r\n","size":49947,"noattachment":false,"key":"/@hint/formatter-codeframe/-/@hint/formatter-codeframe-3.1.27.tgz"},"_npmUser":{"name":"vidorteg","email":"vidorteg@microsoft.com"},"directories":{},"maintainers":[{"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.27_1651011015151_0.41958692390957886"},"_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":1651011015259,"_cnpm_publish_time":1651011015259,"dist-tags":{"latest":"3.1.36"}}