{"name":"stylelint-formatter-pretty","version":"3.0.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/dreamseer"},"author":{"name":"Marc Görtz","email":"git@marcgoertz.de","url":"https://marcgoertz.de/"},"engines":{"node":">=14"},"type":"module","main":"index.js","scripts":{"test":"xo && c8 ava","coveralls":"c8 report --reporter=text-lcov | coveralls"},"keywords":["stylelint","stylelint-formatter","formatter","reporter","lint","validate"],"dependencies":{"ansi-escapes":"^5.0.0","chalk":"^4.1.1","log-symbols":"^5.0.0","plur":"^4.0.0","string-width":"^5.0.0"},"devDependencies":{"ava":"^3.15.0","c8":"^7.7.2","coveralls":"^3.1.0","strip-ansi":"^7.0.0","xo":"^0.39.1"},"xo":{"rules":{"unicorn/no-array-for-each":"off"}},"gitHead":"7aff2342b87f2907cb45c8a9473d29af2288e958","bugs":{"url":"https://github.com/Dreamseer/stylelint-formatter-pretty/issues"},"homepage":"https://github.com/Dreamseer/stylelint-formatter-pretty#readme","_id":"stylelint-formatter-pretty@3.0.0","_nodeVersion":"16.0.0","_npmVersion":"7.11.2","dist":{"integrity":"sha512-0AOj+Yxc6CVdb5mJUnDp7em+OEyNmgCgzcvYm5fL3ZxDlRT9iwT3YyQuNriFWSSt2xlSJotjUDTkODK7H78tng==","shasum":"a3e0241ea431db9320c2691010b92e0917db9e67","tarball":"http://registry-npm.ywwl.com/stylelint-formatter-pretty/download/stylelint-formatter-pretty-3.0.0.tgz","fileCount":4,"unpackedSize":10967,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJglXAOCRA9TVsSAnZWagAA75wP/A6vGTdefXHT3AE95uN4\npdAp4eqRZl0+mrT+pI8GY5ccwRRJ+kLkyCr5YZRnicjdpThCGTOi9JDBAWFA\nHGsMrc0ysV7pTAG42Up1BfqsILzoLljeTRPWXY+mW1lhlRR6vlVH24DbtjYy\nY7prQQ/6HRnG6RwelA09hffp3M8CvtpalHx4yFdvttL7DDudIg/sUjF3n2xw\nOSeYbOZFKbNoXgt5Q4Fc88pfwz7oStXfk3t5W/3bBWx+kS/llKatz0KGDmWL\nkgYYS6iRcNscuyE52hswOLw8H8xdxLjYqX0D/EXl3ZOTjGhXmhwLsrDQ1ptE\n3xDsXBl6cezdEtWvl7HP9TCnyWEkBqNzjLRR5mnWf7Rsj/l4LvHLClktHw4L\nplrYbpgLPBHWIRL9FDn+cDABDvtWSPFbeYuXvcn1lRiFCtzmOq+R0Ljkh+tN\n0U8buneFi5O8dQSBudBwoO/ghaEuI8q6EF88dh0OYKvt+Qq4DmFWqefuUtsm\nB8EJCu8D6JCVcybkT9rMu9qi1zlp348qCbaTIL3AIiyqeYY+geNNBSGqgw3P\n61pdRVXW+sUWmEZDv4vOsAUSW0wklD3gcqHqbkY0+/cBqs6tpa9AE3/f72dG\n4+7jq+yH4PMPW/9uONtfdDj2Uj+ZkVOHVX05/iP8inSZpb4h9EAOKdKH8Msv\n7iXT\r\n=qaYX\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIApk0wLL27Zov/w6cp/QHBOJi7V16SdSV9sjAtWiqLOOAiAhZz8ByYahK+nieRPvDD7by29TxrQSDa5ZnFGh9W3YIA=="}],"size":3990,"noattachment":false,"key":"/stylelint-formatter-pretty/-/stylelint-formatter-pretty-3.0.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.0.0_1620406286420_0.7629293332088405"},"_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":1620406286590,"_cnpm_publish_time":1620406286590,"dist-tags":{"latest":"4.0.1"}}