{"id":14155586,"url":"https://github.com/ayan4m1/yeoman-stylelint","last_synced_at":"2026-05-20T05:05:50.350Z","repository":{"id":47496347,"uuid":"174646962","full_name":"ayan4m1/yeoman-stylelint","owner":"ayan4m1","description":null,"archived":false,"fork":false,"pushed_at":"2024-02-08T22:14:27.000Z","size":103,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-08-01T01:40:08.173Z","etag":null,"topics":["library","nodejs","stylelint","transform-stream","yeoman"],"latest_commit_sha":null,"homepage":"","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/ayan4m1.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,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2019-03-09T04:14:28.000Z","updated_at":"2024-02-20T22:39:35.000Z","dependencies_parsed_at":"2024-02-23T01:15:13.686Z","dependency_job_id":null,"html_url":"https://github.com/ayan4m1/yeoman-stylelint","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/ayan4m1/yeoman-stylelint","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ayan4m1%2Fyeoman-stylelint","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ayan4m1%2Fyeoman-stylelint/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ayan4m1%2Fyeoman-stylelint/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ayan4m1%2Fyeoman-stylelint/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ayan4m1","download_url":"https://codeload.github.com/ayan4m1/yeoman-stylelint/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ayan4m1%2Fyeoman-stylelint/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274348447,"owners_count":25268972,"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","status":"online","status_checked_at":"2025-09-09T02:00:10.223Z","response_time":80,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["library","nodejs","stylelint","transform-stream","yeoman"],"created_at":"2024-08-17T08:04:08.849Z","updated_at":"2026-05-20T05:05:50.287Z","avatar_url":"https://github.com/ayan4m1.png","language":"JavaScript","funding_links":[],"categories":["nodejs"],"sub_categories":[],"readme":"# yeoman-stylelint\n\nThis package seeks to solve a single problem. Using [gulp-stylelint](https://github.com/olegskl/gulp-stylelint) as a Yeoman transform stream causes a crash if there are any conflicts during the Yeoman run. I want to pre-lint my SCSS so that it doesn't come out of the tin broken.\n\n## usage\n\nFirst, require/import the module:\n\n```js\nconst stylelint = require('yeoman-stylelint');\n\nimport stylelint from 'yeoman-stylelint';\n```\n\nThen, in your generator constructor, add something similar to:\n\n```js\nthis.registerTransformStream(\n  gulpIf(\n    /\\.scss$/,\n    stylelint({ configFile: path.join(__dirname, '..', '.stylelintrc' }))\n  )\n);\n```\n\nNow, all `.scss` files that are written by Yeoman will be preprocessed with stylelint, automatically fixing what it can.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fayan4m1%2Fyeoman-stylelint","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fayan4m1%2Fyeoman-stylelint","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fayan4m1%2Fyeoman-stylelint/lists"}