{"id":36975596,"url":"https://github.com/adrifkat/grumphp-stylelint-task","last_synced_at":"2026-01-13T22:05:19.311Z","repository":{"id":56941218,"uuid":"354819483","full_name":"adrifkat/grumphp-stylelint-task","owner":"adrifkat","description":"Task for GrumPHP that adds CSS linting support with stylelint. An easy way to enforce convention and avoid errors in your styles","archived":false,"fork":false,"pushed_at":"2021-04-05T13:04:25.000Z","size":3,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-30T14:33:52.937Z","etag":null,"topics":["grumphp","grumphp-stylelint","grumphp-task","stylelint","stylelint-task"],"latest_commit_sha":null,"homepage":"","language":"PHP","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/adrifkat.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-04-05T11:59:17.000Z","updated_at":"2021-04-29T15:42:46.000Z","dependencies_parsed_at":"2022-08-21T07:20:54.860Z","dependency_job_id":null,"html_url":"https://github.com/adrifkat/grumphp-stylelint-task","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/adrifkat/grumphp-stylelint-task","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adrifkat%2Fgrumphp-stylelint-task","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adrifkat%2Fgrumphp-stylelint-task/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adrifkat%2Fgrumphp-stylelint-task/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adrifkat%2Fgrumphp-stylelint-task/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/adrifkat","download_url":"https://codeload.github.com/adrifkat/grumphp-stylelint-task/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adrifkat%2Fgrumphp-stylelint-task/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28400681,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-13T14:36:09.778Z","status":"ssl_error","status_checked_at":"2026-01-13T14:35:19.697Z","response_time":56,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["grumphp","grumphp-stylelint","grumphp-task","stylelint","stylelint-task"],"created_at":"2026-01-13T22:05:18.635Z","updated_at":"2026-01-13T22:05:19.304Z","avatar_url":"https://github.com/adrifkat.png","language":"PHP","readme":"# grumphp-stylelint-task\n\n## Installation\n\n[Stylelint](https://stylelint.io/) is a static analysis tool for styles. A mighty, modern linter that helps you avoid errors and enforce conventions in your styles.\n\n```shell\ncomposer require --dev adrifkat/grumphp-stylelint-task\n```\n\n## npm\n\n1\\. Use [npm](https://docs.npmjs.com/about-npm/) to install stylelint and its [`standard configuration`](https://github.com/stylelint/stylelint-config-standard):\n\n```shell\nnpm install --save-dev stylelint stylelint-config-standard\n```\n\n2\\. Create a `.stylelintrc.json` configuration file in the root of your project:\n\n```json\n{\n  \"extends\": \"stylelint-config-standard\"\n}\n```\n\n## Config\nIt lives under the `stylelint` namespace and has the following configurable parameters:\n\n```yaml\n# grumphp.yml\ngrumphp:\n    tasks:\n        stylelint:\n            triggered_by: [css, scss, less]\n            whitelist_patterns:\n                - /^resources\\/css\\/(.*)/\n            config: .stylelintrc.json\n            max-warnings: 5\n            quiet: false\n      \nservices:\n  Adrifkat\\GrumPHPStylelint\\StylelintTask:\n    arguments:\n      - '@process_builder'\n      - '@formatter.raw_process'\n    tags:\n      - { name: grumphp.task, task: stylelint }\n\n```\n\n**triggered_by**\n\n*Default: [less, sass, scss, css]*\n\nThis is a list of extensions which will trigger the Stylelint task.\n\n\n**whitelist_patterns**\n\n*Default: []*\n\nThis is a list of regex patterns that will filter files to validate. With this option you can specify the folders containing style files and thus skip folders like the /vendor/ directory. This option is used in conjunction with the parameter `triggered_by`.\nFor example: to whitelist files in `resources/css/` (Laravel's CSS directory) you can use:\n```yml\nwhitelist_patterns:\n  - /^resources\\/css\\/(.*)/\n```\n\n**config**\n\n*Default: null*\n\nPath to a JSON, YAML, or JS file that contains your configuration object. Not necessary if using a standard stylelintrc name, eg. .stylelintrc.json\n\n**max-warnings**\n\n*Default: null*\n\nSet a limit to the number of warnings accepted. ([stylelint.io](https://stylelint.io/user-guide/usage/cli#--max-warnings---mw)).\n\n**quiet**\n\n*Default: null*\n\nOnly register violations for rules with an \"error\"-level severity (ignore \"warning\"-level). ([stylelint.io](https://stylelint.io/user-guide/usage/cli#--quiet--q))","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadrifkat%2Fgrumphp-stylelint-task","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fadrifkat%2Fgrumphp-stylelint-task","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadrifkat%2Fgrumphp-stylelint-task/lists"}