{"name":"eslint-formatter-pretty","version":"3.0.0","description":"Pretty ESLint formatter","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/eslint-formatter-pretty.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=8"},"scripts":{"test":"xo && ava"},"keywords":["eslint","eslint-formatter","formatter","reporter","lint","validate"],"dependencies":{"ansi-escapes":"^4.2.1","chalk":"^3.0.0","eslint-rule-docs":"^1.1.5","log-symbols":"^3.0.0","plur":"^3.0.1","string-width":"^4.2.0","supports-hyperlinks":"^2.0.0"},"devDependencies":{"ava":"^1.4.1","strip-ansi":"^6.0.0","xo":"^0.25.3"},"ava":{"serial":true},"gitHead":"7176554757340661e0947c0fae03c88ae2229a63","bugs":{"url":"https://github.com/sindresorhus/eslint-formatter-pretty/issues"},"homepage":"https://github.com/sindresorhus/eslint-formatter-pretty#readme","_id":"eslint-formatter-pretty@3.0.0","_nodeVersion":"10.17.0","_npmVersion":"6.11.3","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"integrity":"sha512-KtVXVIB/R5EON2RL/quU0PfM1l+jYDRG/16E+8wLDuLpWosc5TuDPCWFu+hPL5Q5y1v1pgnn3nQu8yUDrkh7SA==","shasum":"493fce2cce105634026f0eb0931fab90260fb1ff","tarball":"http://registry-npm.ywwl.com/eslint-formatter-pretty/download/eslint-formatter-pretty-3.0.0.tgz","fileCount":4,"unpackedSize":7914,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdy4+pCRA9TVsSAnZWagAAOmUP+wSm+VEBOQTQRdyp0QUP\ngG8VAByFkC3BeNY2o87W5JjpLTeQeNAUuiddR4VXBiPgqz8qX+ekpO0kaWwl\nj6pUeG0JkVr3kxai+Qj3WE+R3rqloK36x6DQCR82rTh/p0bGY+nrqM72NunU\nMfAbAhh9IhIppxO2CLj15qZnLVOg5P6gZcEK8wCKaCKirMNJCHtbTCh1Ay+I\n2w/E/3xM2BerNa1WBGuEf1db8zlTGXTsX8oVvED2QgHgo2o/vFfPNIVzyELo\nsJYXDabQs2sLwcWhXw6hviSs9b17TPzD0ff9FIahxEWqTQp0PIbNDsuzT6yq\n8xTfuGzJOSssGKnLkUwypd+pytxau4lpfod9N0dF4p848Dou9tmBGZfFbcga\nxxH/q17crokueZ4uGA04aVtL4+FHT9r1UqN7Y0H+lEBwySpMBkub8smIMiYF\ndAF8Gppi5WQObZnmnnPr+OnXn83xglno+2X4kpPkR3/ayS0pqgKVsR5/cnr7\nQ2SqvXTrmGulp5x519llQT4qy8xTwy9irYwXD8hbChChKh/mkPNnYpYTJx/C\nIb3w3cJbUEiI3HImJdTupJAMksmFF/UFzStAiBqALl5V4EaEMob6yOvuXR7Z\nuwLAROJP9TNJ0na52h1ZU9jgC2Rfd1UEO8vp7xS4iwP7nSCMYt2iwqUqV/3I\n26vb\r\n=bFif\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDoZIxHkE9ClKAt1EQAd3yrXZi57ZRYCuTeSJuMXyHs5AiBMh94ZMRByw5cSor08zeQILWkjnn/H8a5On12PvnjDzg=="}],"size":3371,"noattachment":false,"key":"/eslint-formatter-pretty/-/eslint-formatter-pretty-3.0.0.tgz"},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/eslint-formatter-pretty_3.0.0_1573621672682_0.8329858692063903"},"_hasShrinkwrap":false,"readme":"# eslint-formatter-pretty\n\n> Pretty formatter for [ESLint](https://eslint.org)\n\n![](screenshot.png)\n\n## Highlights\n\n- Pretty output.\n- Sorts results by severity.\n- Stylizes inline codeblocks in messages.\n- Command-click a rule ID to open its docs.\n- Command-click a header to reveal the first error in your editor. *(iTerm-only)*\n\n## Install\n\n```sh\nnpm install --save-dev eslint-formatter-pretty@5\n```\n\n*To use this with ESLint, use version 5. Version 6 is [not compatible with ESLint](https://github.com/eslint/eslint/issues/15560).*\n\n## Usage\n\n### [XO](https://github.com/xojs/xo)\n\nNothing to do. It's the default formatter.\n\n### ESLint CLI\n\n```sh\neslint --format=pretty file.js\n```\n\n### [grunt-eslint](https://github.com/sindresorhus/grunt-eslint)\n\n```js\ngrunt.initConfig({\n\teslint: {\n\t\ttarget: ['file.js'].\n\t\toptions: {\n\t\t\tformat: 'pretty'\n\t\t}\n\t}\n});\n\ngrunt.loadNpmTasks('grunt-eslint');\ngrunt.registerTask('default', ['eslint']);\n```\n\n### [gulp-eslint](https://github.com/adametry/gulp-eslint)\n\n```js\nimport gulp from 'gulp';\nimport eslint from 'gulp-eslint';\n\nexport const lint = (\n\tgulp.src('file.js')\n\t\t.pipe(eslint())\n\t\t.pipe(eslint.format('pretty'))\n);\n```\n\n### [eslint-loader](https://github.com/MoOx/eslint-loader) *(webpack)*\n\n```js\nimport eslintFormatterPretty from 'eslint-formatter-pretty';\n\nexport default {\n\tentry: ['file.js'],\n\tmodule: {\n\t\trules: [\n\t\t\t{\n\t\t\t\ttest: /\\.js$/,\n\t\t\t\texclude: /node_modules/,\n\t\t\t\tloader: 'eslint-loader',\n\t\t\t\toptions: {\n\t\t\t\t\tformatter: eslintFormatterPretty\n\t\t\t\t}\n\t\t\t}\n\t\t]\n\t}\n};\n```\n\n## Tips\n\nIn iTerm, <kbd>Command</kbd>-click the filename header to open the file in your editor.\n\nIn [terminals with support for hyperlinks](https://gist.github.com/egmontkob/eb114294efbcd5adb1944c9f3cb5feda#supporting-apps), <kbd>Command</kbd>-click the rule ID to open its docs.\n","publish_time":1573621672829,"_cnpm_publish_time":1573621672829,"dist-tags":{"latest":"7.1.0"}}