{"name":"stylelint-formatter-pretty","version":"3.2.0","description":"A pretty Stylelint formatter.","license":"MIT","repository":{"type":"git","url":"git+https://github.com/mrcgrtz/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.3.2","log-symbols":"~4.1.0","picocolors":"^1.0.0","plur":"~4.0.0","string-width":"~4.2.2","supports-hyperlinks":"^3.0.0"},"devDependencies":{"ava":"^5.0.1","c8":"^7.11.2","husky":"^8.0.1","lint-staged":"^13.0.0","strip-ansi":"^7.0.1","xo":"^0.53.1"},"lint-staged":{"*.?({c,m})js":"xo --fix"},"xo":{"rules":{"unicorn/no-array-for-each":"off"}},"gitHead":"6d5819a253537f64738c6ca3b98563f1e7a4b0c3","bugs":{"url":"https://github.com/mrcgrtz/stylelint-formatter-pretty/issues"},"homepage":"https://github.com/mrcgrtz/stylelint-formatter-pretty#readme","_id":"stylelint-formatter-pretty@3.2.0","_nodeVersion":"18.12.1","_npmVersion":"9.6.3","dist":{"integrity":"sha512-qUGdmJIKFcNamAgkf/I0NraOxlLqclSoAmBameWNR5EsOvm0Kwy2iMYi5z9hbQhFaCZ+TWSbwHmkB6XNbJWrQw==","shasum":"243d9e612a7f69bbc5f43690e2c3f12ba5a29641","tarball":"http://registry-npm.ywwl.com/stylelint-formatter-pretty/download/stylelint-formatter-pretty-3.2.0.tgz","fileCount":5,"unpackedSize":11818,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDD64fhmeSKT6C2ai7c0Dyuje+biZIiPqZ0N9glRl/4GQIgAXJsopspoU0NhT9reuRFJ7xThEas/SRRlUZKgcV4U1A="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkKrD/ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmrnsw//frrHBS/RZemEBlJ/dSGzIfSjWqMsUEOIUUR+fbX8lN4m4+9r\r\n4n1zOXv9Gbnna3nQbyzdQMjTUOVnkYXRAulP7PtVHcZf2gwG1/5aTTZj80DT\r\nFuYVSc6vcftDWFBrefyD2fFqTegeqP5jao9wncU5LZQBulQRVRZeVXS3D+jx\r\nH1mBr1uxC7PxwiGtPoW1RqjVZmtliX70VMpni6T0NoufvipNPXENyLC0uRKA\r\nf4Ve4tKDkOO60FyYRTGztslfrXUCxosEsxCMfhEm0uwrkNqsdPn31N45GWsj\r\nuhjmVI/VGU2ysy7vl7m99xdq92NxxUvdMtGXdvT/qEDFjKXjaC8lbxLYYR/S\r\ny8C5V76N75TmcgXSWzUfvjBejiuHYDFc/oKYQ1KD/F/pz3DCwRa9OltJes4b\r\nBnpwxixULkmeLWXr5h03EsNbR9h07vSYjeoVqCa6LPB8vdooUMZpmAaOGELw\r\nilec5qOQMCT7Of2wndl1my64+npGDhl0JwNHfB6ngZoLsHjcCqhmwcE6k8xK\r\nWxFi6fwQJzPS3I1sTztb80gLVp2ezND9a2qr2JhggLOdraHHwi4bP1M2V7PM\r\nlMF6qZm7uLP31aX2M0YfHg9uKTaUXBTHviskb/GsxdYPhL1N8iNZHf7XmHYd\r\nPfstE8v0iXjR7p0ZQu21e2hPJxHX5OQG2Ss=\r\n=JW5Y\r\n-----END PGP SIGNATURE-----\r\n","size":4345,"noattachment":false,"key":"/stylelint-formatter-pretty/-/stylelint-formatter-pretty-3.2.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.2.0_1680519423103_0.513981836878102"},"_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":1680519423270,"_cnpm_publish_time":1680519423270,"dist-tags":{"latest":"4.0.1"}}