{"name":"eslint-formatter-pretty","version":"1.1.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":">=4"},"scripts":{"test":"xo && ava"},"files":["index.js"],"keywords":["eslint","eslint-formatter","formatter","reporter","lint","validate"],"dependencies":{"ansi-escapes":"^1.4.0","chalk":"^1.1.3","log-symbols":"^1.0.2","plur":"^2.1.2","string-width":"^2.0.0"},"devDependencies":{"ava":"*","strip-ansi":"^3.0.1","xo":"*"},"xo":{"esnext":true},"gitHead":"197e5be2410d1189687a9de26bcb4a87d8627c6e","bugs":{"url":"https://github.com/sindresorhus/eslint-formatter-pretty/issues"},"homepage":"https://github.com/sindresorhus/eslint-formatter-pretty#readme","_id":"eslint-formatter-pretty@1.1.0","_shasum":"ab4d06da02fed8c13ae9f0dc540a433ef7ed6f5e","_from":".","_npmVersion":"2.15.9","_nodeVersion":"4.6.0","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"ab4d06da02fed8c13ae9f0dc540a433ef7ed6f5e","tarball":"http://registry-npm.ywwl.com/eslint-formatter-pretty/download/eslint-formatter-pretty-1.1.0.tgz","integrity":"sha512-Vic2cSZ9W8jK1YklYTsqDFhsX/+DbvSuL3GSHbeLlqjxhbxugVf0xvVtSfZu7D36q6r3e9kkPDgWfwrl4fhoxA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCA1nJlkLLP4aAloidetTD0GD4YO7Bex+lDXjjOqQS0egIhAKmp8fNVWQE/jhS+d4zlEkpcq70J3FkHS3yS+Ynlqjnn"}],"size":3115,"noattachment":false,"key":"/eslint-formatter-pretty/-/eslint-formatter-pretty-1.1.0.tgz"},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/eslint-formatter-pretty-1.1.0.tgz_1476027495378_0.7503828019835055"},"directories":{},"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":1476027495615,"_cnpm_publish_time":1476027495615,"dist-tags":{"latest":"7.1.0"}}