{"name":"stylelint-formatter-pretty","version":"1.0.2","description":"A pretty Stylelint formatter.","license":"MIT","repository":{"type":"git","url":"git+https://github.com/Dreamseer/stylelint-formatter-pretty.git"},"author":{"name":"Marc Görtz","email":"git@marcgoertz.de","url":"https://marcgoertz.de/"},"engines":{"node":">=4"},"scripts":{"test":"xo && ava"},"files":["index.js"],"keywords":["stylelint","stylelint-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":"^0.19.1","strip-ansi":"^3.0.1","xo":"*"},"xo":{"esnext":true,"space":true},"gitHead":"699b18e1ce79b8995949070b90c75e4a63abc72e","bugs":{"url":"https://github.com/Dreamseer/stylelint-formatter-pretty/issues"},"homepage":"https://github.com/Dreamseer/stylelint-formatter-pretty#readme","_id":"stylelint-formatter-pretty@1.0.2","_shasum":"eb909afa3ad770b470ec23743acb74512d1de369","_from":".","_npmVersion":"4.2.0","_nodeVersion":"7.9.0","_npmUser":{"name":"dreamseer","email":"mail@marcgoertz.de"},"dist":{"shasum":"eb909afa3ad770b470ec23743acb74512d1de369","tarball":"http://registry-npm.ywwl.com/stylelint-formatter-pretty/download/stylelint-formatter-pretty-1.0.2.tgz","integrity":"sha512-cJrWXCnEk6KHzxwBS7FCwWthz+QXsKH5PzNqdCOmSUXVXuEkdWq0ICtsUJ3jF7/4FQbr3ijqDW+aQTk50PF+wQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQClll/UvqAQiuXjZf5CkPDJElKgt8EQ+EnB6M5ZRFdj4wIgT4PJrn3J6HLWCoskrIj/gVIPt0bJ4rPuCDoVmbiLgiM="}],"size":3624,"noattachment":false,"key":"/stylelint-formatter-pretty/-/stylelint-formatter-pretty-1.0.2.tgz"},"maintainers":[{"name":"dreamseer","email":"mail@marcgoertz.de"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/stylelint-formatter-pretty-1.0.2.tgz_1493900651571_0.7730950207915157"},"directories":{},"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":1493900652684,"_cnpm_publish_time":1493900652684,"dist-tags":{"latest":"4.0.1"}}