{"name":"stylelint-formatter-pretty","version":"3.1.0","description":"A pretty Stylelint formatter.","license":"MIT","repository":{"type":"git","url":"git+https://github.com/Dreamseer/stylelint-formatter-pretty.git"},"funding":[{"type":"kofi","url":"https://ko-fi.com/mrcgrtz"},{"type":"liberapay","url":"https://liberapay.com/mrcgrtz/"}],"author":{"name":"Marc Görtz","email":"git@marcgoertz.de","url":"https://marcgoertz.de/"},"engines":{"node":">=14"},"type":"module","main":"index.cjs","module":"index.js","exports":{".":{"require":"./index.cjs","default":"./index.js"}},"scripts":{"test":"xo && c8 ava","coverage":"c8 report --reporter=lcov"},"keywords":["stylelint","stylelint-formatter","formatter","reporter","lint","validate"],"dependencies":{"ansi-escapes":"4.x","chalk":"4.x","log-symbols":"4.x","plur":"4.x","string-width":"4.x"},"devDependencies":{"ava":"^3.15.0","c8":"^7.8.0","strip-ansi":"^7.0.0","xo":"^0.47.0"},"xo":{"rules":{"unicorn/no-array-for-each":"off"}},"gitHead":"814953bc8c26a08077bede46199b533ac12ec496","bugs":{"url":"https://github.com/Dreamseer/stylelint-formatter-pretty/issues"},"homepage":"https://github.com/Dreamseer/stylelint-formatter-pretty#readme","_id":"stylelint-formatter-pretty@3.1.0","_nodeVersion":"17.3.0","_npmVersion":"8.3.0","dist":{"integrity":"sha512-tAXUYNJTiJgYAfi3AvBpDhYgv2vWoJ5PPLr8/H7GSKzD+5RexLEHwjgURZB0s4YTufg3dDO8oc5YEpOk/MCnvA==","shasum":"abc227ee81d8a82b3eaf215aad1a189a9c5a9c49","tarball":"http://registry-npm.ywwl.com/stylelint-formatter-pretty/download/stylelint-formatter-pretty-3.1.0.tgz","fileCount":5,"unpackedSize":10984,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhy1zUCRA9TVsSAnZWagAAsOoP/3e4VqMdyVS2vyjpJeYC\nKiAehNueY4euuEkvqjV3CAdxM6FY8y243G1t7Y/SzJ7q4vriuhOH3v+m7f12\nBAQCNW3t4RqDjDkgiZlia2B+bQ9NoNqF1KU6prYY1LlmkZW91ZQQJ7MjBef9\nryyxg3r+G7d2VKHG66mhC1pQg8A3efSVS+guDpX8tnsAq9KbdI6Ve66oAsOb\nFSrTvAyd/t0NaNEuMjgfd+HHLQ2N/3g5+RK+VUqZkiX8N9GL7h2A43tAW6mt\nKs7kQuR8i5H4rbSovBUzJCvdfF4HXuBnTsjoS/7GswWPCGD/+pjBujBbj0xk\naYjghLBNXJ+t57tGPhQ2zVy+VaKNV4fE3lEVl8r2JgudDlPmVRurKUb5YajY\ni4WvkKLUsjewNs+GWiS3yw+MsNRl4CifHwUbGAqvoC0wE+P0fvwPXM5WifJW\niIepdhJCq2z8YleRKExTTqw+TOMtvVi+/zFMeQ6nKU17i9SjZizIux6zbQh+\nye0zaNbAxx3FA20823j7mxbj+N/1SQaGNpGsheGBJR/CBOsUhlyg5RsZo5Bv\nUSbULjdcaiCUQ+rC7jVpZ3oaMOZ/szyr5Q8bbn6qIUmoAlEhmyccO2JeVgF6\nR67IQB2D+lI0Uqoi+3/W4HFAERcq6Y/TwTO5jJFrKILiP9cuivRSztQBb/Pa\nsdYk\r\n=1/3t\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIB43VL0AniFflyVQQC3rZvRyCXlrDe6cEgB4KhpruAvTAiEAqINGC8oQYt3pDyITyjh6+V2SGuKpDBMntMVm4OLRVOY="}],"size":4008,"noattachment":false,"key":"/stylelint-formatter-pretty/-/stylelint-formatter-pretty-3.1.0.tgz"},"_npmUser":{"name":"dreamseer","email":"mail@marcgoertz.de"},"directories":{},"maintainers":[{"name":"dreamseer","email":"mail@marcgoertz.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/stylelint-formatter-pretty_3.1.0_1640717524744_0.43204540024283866"},"_hasShrinkwrap":false,"readme":"# stylelint-formatter-pretty\n\n> A pretty formatter for [Stylelint](https://stylelint.io/)\n\n[![Test](https://github.com/mrcgrtz/stylelint-formatter-pretty/actions/workflows/test.yml/badge.svg)](https://github.com/mrcgrtz/stylelint-formatter-pretty/actions/workflows/test.yml)\n[![Coverage Status](https://coveralls.io/repos/github/mrcgrtz/stylelint-formatter-pretty/badge.svg?branch=main)](https://coveralls.io/github/mrcgrtz/stylelint-formatter-pretty?branch=main)\n[![Install size](https://packagephobia.now.sh/badge?p=stylelint-formatter-pretty)](https://packagephobia.now.sh/result?p=stylelint-formatter-pretty)\n[![XO code style](https://img.shields.io/badge/code_style-XO-5ed9c7.svg)](https://github.com/xojs/xo)\n[![MIT license](https://img.shields.io/github/license/mrcgrtz/stylelint-formatter-pretty.svg)](https://github.com/mrcgrtz/stylelint-formatter-pretty/blob/main/LICENSE.md)\n\n![Screenshot](screenshot.png)\n\n## Install\n\nUsing [npm](https://www.npmjs.com/get-npm):\n\n```bash\nnpm install --save-dev stylelint-formatter-pretty\n```\n\nUsing [yarn](https://yarnpkg.com/):\n\n```bash\nyarn add stylelint-formatter-pretty --dev\n```\n\n## Usage\n\n### Stylelint CLI\n\n```bash\nstylelint file.css --custom-formatter=node_modules/stylelint-formatter-pretty\n```\n\n### [grunt-stylelint](https://github.com/wikimedia/grunt-stylelint)\n\n```js\nimport stylelintFormatter from 'stylelint-formatter-pretty';\n\ngrunt.initConfig({\n  stylelint: {\n    options: {\n      formatter: stylelintFormatter\n    },\n    all: ['css/**/*.css']\n  }\n});\n\ngrunt.loadNpmTasks('grunt-stylelint');\ngrunt.registerTask('default', ['stylelint']);\n```\n\n### [gulp-stylelint](https://github.com/olegskl/gulp-stylelint)\n\n```js\nimport gulp from 'gulp';\nimport stylelint from 'gulp-stylelint';\nimport stylelintFormatter from 'stylelint-formatter-pretty';\n\ngulp.task('lint', () =>\n  gulp.src('file.css')\n    .pipe(stylelint({\n      reporters: [ {\n        formatter: stylelintFormatter,\n        console: true\n      } ]\n    }));\n);\n```\n\n### [Webpack](https://github.com/JaKXz/stylelint-webpack-plugin)\n\n```js\nimport styleLintPlugin from 'stylelint-webpack-plugin';\nimport stylelintFormatter from 'stylelint-formatter-pretty';\n\nmodule.exports = {\n  // ...\n  plugins: [\n    new styleLintPlugin({\n      formatter: stylelintFormatter\n    }),\n  ],\n  // ...\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 documentation.\n\n## Related\n\n* [eslint-formatter-pretty](https://github.com/sindresorhus/eslint-formatter-pretty) – a pretty ESLint formatter\n\n## License\n\nMIT © [Sindre Sorhus](https://sindresorhus.com/), [Marc Görtz](https://marcgoertz.de/)\n","publish_time":1640717524972,"_cnpm_publish_time":1640717524972,"dist-tags":{"latest":"4.0.1"}}