{"id":15769762,"url":"https://github.com/mrcgrtz/stylelint-formatter-pretty","last_synced_at":"2025-04-05T10:08:27.021Z","repository":{"id":37938593,"uuid":"88356674","full_name":"mrcgrtz/stylelint-formatter-pretty","owner":"mrcgrtz","description":"✨ A pretty Stylelint formatter.","archived":false,"fork":false,"pushed_at":"2025-03-17T20:49:59.000Z","size":2936,"stargazers_count":32,"open_issues_count":0,"forks_count":4,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-29T10:48:01.871Z","etag":null,"topics":["css","formatter","lint","linting","reporter","stylelint","stylelint-formatter","validate"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/stylelint-formatter-pretty","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mrcgrtz.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE.md","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":null,"patreon":null,"open_collective":null,"ko_fi":"mrcgrtz","tidelift":null,"community_bridge":null,"liberapay":"mrcgrtz","issuehunt":null,"otechie":null,"custom":null}},"created_at":"2017-04-15T15:39:56.000Z","updated_at":"2025-03-17T20:50:01.000Z","dependencies_parsed_at":"2023-02-10T18:01:20.854Z","dependency_job_id":"20628576-ee1b-4c3f-9641-3efd64528950","html_url":"https://github.com/mrcgrtz/stylelint-formatter-pretty","commit_stats":{"total_commits":298,"total_committers":9,"mean_commits":"33.111111111111114","dds":0.5234899328859061,"last_synced_commit":"5538633c29a6b468bec764c698e8e7c62e7e68d2"},"previous_names":[],"tags_count":22,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrcgrtz%2Fstylelint-formatter-pretty","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrcgrtz%2Fstylelint-formatter-pretty/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrcgrtz%2Fstylelint-formatter-pretty/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrcgrtz%2Fstylelint-formatter-pretty/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mrcgrtz","download_url":"https://codeload.github.com/mrcgrtz/stylelint-formatter-pretty/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247318744,"owners_count":20919484,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["css","formatter","lint","linting","reporter","stylelint","stylelint-formatter","validate"],"created_at":"2024-10-04T14:05:42.299Z","updated_at":"2025-04-05T10:08:27.004Z","avatar_url":"https://github.com/mrcgrtz.png","language":"JavaScript","funding_links":["https://ko-fi.com/mrcgrtz","https://liberapay.com/mrcgrtz"],"categories":[],"sub_categories":[],"readme":"# stylelint-formatter-pretty\n\n\u003e 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 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', () =\u003e\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, \u003ckbd\u003eCommand\u003c/kbd\u003e+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), \u003ckbd\u003eCommand\u003c/kbd\u003e+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","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmrcgrtz%2Fstylelint-formatter-pretty","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmrcgrtz%2Fstylelint-formatter-pretty","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmrcgrtz%2Fstylelint-formatter-pretty/lists"}