{"id":15470417,"url":"https://gitlab.com/leon0399/stylelint-formatter-gitlab","last_synced_at":"2025-09-03T10:32:27.249Z","repository":{"id":60142332,"uuid":"16707687","full_name":"leon0399/stylelint-formatter-gitlab","owner":"leon0399","description":"","archived":false,"fork":false,"pushed_at":null,"size":null,"stargazers_count":0,"open_issues_count":2,"forks_count":4,"subscribers_count":null,"default_branch":"master","last_synced_at":"2025-08-29T05:30:02.568Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"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":null,"metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-02-05T00:47:03.768Z","updated_at":"2024-11-17T18:11:33.636Z","dependencies_parsed_at":"2022-09-25T21:20:18.984Z","dependency_job_id":null,"html_url":"https://gitlab.com/leon0399/stylelint-formatter-gitlab","commit_stats":null,"previous_names":[],"tags_count":3,"template":null,"template_full_name":null,"purl":"pkg:gitlab/leon0399/stylelint-formatter-gitlab","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/gitlab.com/repositories/leon0399%2Fstylelint-formatter-gitlab","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/gitlab.com/repositories/leon0399%2Fstylelint-formatter-gitlab/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/gitlab.com/repositories/leon0399%2Fstylelint-formatter-gitlab/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/gitlab.com/repositories/leon0399%2Fstylelint-formatter-gitlab/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/gitlab.com/owners/leon0399","download_url":"https://gitlab.com/leon0399/stylelint-formatter-gitlab/-/archive/master/stylelint-formatter-gitlab-master.zip","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/gitlab.com/repositories/leon0399%2Fstylelint-formatter-gitlab/sbom","scorecard":null,"host":{"name":"gitlab.com","url":"https://gitlab.com","kind":"gitlab","repositories_count":4520306,"owners_count":7141,"icon_url":"https://github.com/gitlab.png","version":null,"created_at":"2022-05-30T11:31:42.605Z","updated_at":"2024-07-18T11:24:13.055Z","status":"online","status_checked_at":"2025-09-03T02:00:09.937Z","response_time":276,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.382Z","robots_txt_url":"https://gitlab.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/gitlab.com","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/gitlab.com/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/gitlab.com/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/gitlab.com/owners"}},"keywords":[],"created_at":"2024-10-02T02:04:36.091Z","updated_at":"2025-09-03T10:32:27.223Z","avatar_url":null,"language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Stylelint Formatter for GitLab\n\n[![pipeline status](https://gitlab.com/leon0399/stylelint-formatter-gitlab/badges/master/pipeline.svg)](https://gitlab.com/leon0399/stylelint-formatter-gitlab/-/commits/master)\n[![coverage report](https://gitlab.com/leon0399/stylelint-formatter-gitlab/badges/master/coverage.svg)](https://gitlab.com/leon0399/stylelint-formatter-gitlab/-/commits/master)\n\n\u003e Show ESLint results directly in the [GitLab code quality] results\n\n[gitlab code quality]: https://docs.gitlab.com/ee/user/project/merge_requests/code_quality.html\n\n## Requirements\n\nThis requires at least GitLab Starter 11.5 and at least Stylelint 9.\n\n## Installation\n\nInstall `eslint` and `eslint-formatter-gitlab` using your package manager.\n\n```sh\nnpm install --save-dev stylelint stylelint-formatter-gitlab\n```\n```sh\nyarn add --dev stylelint stylelint-formatter-gitlab\n```\n\nDefine a GitLab job to run `stylelint`.\n\n_.gitlab-ci.yml_:\n\n```yaml\nstylelint:\n  image: node:10-alpine\n  script:\n    - npm ci\n    - npx stylelint --custom-formatter=node_modules/stylelint-formatter-gitlab .\n  artifacts:\n    reports:\n      codequality: gl-codequality.json\n```\n\nThe formatter will automatically detect a GitLab CI environment. It will detect where to output the\ncode quality report based on the GitLab configuration file.\n\n## Configuration Options\n\nESLint formatters don’t take any configuration options. In order to still allow some way of\nconfiguration, options are passed using environment variables.\n\n| Environment Variable         | Description                                                                                                                                                    |\n| ---------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `STYLELINT_CODE_QUALITY_REPORT` | The location to store the code quality report. By default it will detect the location of the codequality artifact defined in the GitLab CI configuration file. |\n| `STYLELINT_FORMATTER`           | The Stylelint formatter to use for the console output. This defaults to string, the default Stylelint formatter.                                                    |\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/gitlab.com%2Fleon0399%2Fstylelint-formatter-gitlab","html_url":"https://awesome.ecosyste.ms/projects/gitlab.com%2Fleon0399%2Fstylelint-formatter-gitlab","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/gitlab.com%2Fleon0399%2Fstylelint-formatter-gitlab/lists"}