{"id":13766086,"url":"https://github.com/webdenim/stylelint-config-material","last_synced_at":"2026-06-16T02:04:44.178Z","repository":{"id":26795454,"uuid":"109984063","full_name":"webdenim/stylelint-config-material","owner":"webdenim","description":"Shareable stylelint config based on MDC Web's stylelint rules","archived":false,"fork":false,"pushed_at":"2026-05-09T01:02:15.000Z","size":544,"stargazers_count":2,"open_issues_count":2,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2026-05-09T03:09:18.023Z","etag":null,"topics":["material","material-components","material-design","mdc","mdc-web","scss","stylelint","stylelint-config","web"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/stylelint-config-material","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/webdenim.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2017-11-08T14:09:12.000Z","updated_at":"2026-04-02T02:22:05.000Z","dependencies_parsed_at":"2023-01-14T05:18:25.853Z","dependency_job_id":null,"html_url":"https://github.com/webdenim/stylelint-config-material","commit_stats":null,"previous_names":["webdenim/stylelint-config-material-kit"],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/webdenim/stylelint-config-material","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webdenim%2Fstylelint-config-material","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webdenim%2Fstylelint-config-material/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webdenim%2Fstylelint-config-material/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webdenim%2Fstylelint-config-material/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/webdenim","download_url":"https://codeload.github.com/webdenim/stylelint-config-material/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webdenim%2Fstylelint-config-material/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34387480,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-16T02:00:06.860Z","response_time":126,"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":["material","material-components","material-design","mdc","mdc-web","scss","stylelint","stylelint-config","web"],"created_at":"2024-08-03T16:00:51.315Z","updated_at":"2026-06-16T02:04:44.154Z","avatar_url":"https://github.com/webdenim.png","language":"JavaScript","funding_links":[],"categories":["Material Components Web (MDC Web)"],"sub_categories":["MDC Web Resources"],"readme":"# stylelint-config-material\n\n[stylelint-config-material](https://github.com/webdenim/stylelint-config-material) is a shareable stylelint config for [Material Components Web (**MDC Web**)](https://github.com/material-components/material-components-web).\n\n## Installation\n\n```bash\nnpm install --save-dev stylelint-config-material\n```\n\n## Usage\n\nExtend this config within your [stylelint configuration object](http://stylelint.io/user-guide/configuration/#extends),\nand add your [rules](https://stylelint.io/user-guide/rules) if needed.\n\n### Example usage with JSON config:\n\n```json\n{\n  \"extends\": \"stylelint-config-material\",\n  \"ignoreFiles\": [\n    \"node_modules/**/*\",\n    \"dist/**/*\"\n  ],\n  \"rules\": {\n    \"string-quotes\": \"single\"\n  }\n}\n```\n\n### Example usage with YAML config:\n\n```yaml\nextends: stylelint-config-material\nignoreFiles:\n  - node_modules/**/*\n  - dist/**/*\nrules:\n  string-quotes: single\n```\n\n### Using custom BEM prefix\n\nBelow are example rules for using custom component prefix. Replace \"mdc\" with your own abbreviation.\n\n#### In JSON config:\n\n```json\n{\n  \"rules\": {\n    \"custom-media-pattern\": \"^mdc?-.+\",\n    \"custom-property-pattern\": \"^mdc?-.+\",\n    \"selector-class-pattern\": [\"^mdc?-.+\", {\n      \"resolveNestedSelectors\": true\n    }],\n    \"selector-id-pattern\": \"^mdc?-.+\",\n    \"plugin/selector-bem-pattern\": {\n      \"componentSelectors\": \"^\\\\.mdc?-{componentName}(?:__[a-z]+(?:-[a-z]+)*)*(?:--[a-z]+(?:-[a-z]+)*)*(?:\\\\[.+\\\\])*$\"\n    },\n    \"scss/dollar-variable-pattern\": [\"^_?mdc-.+\", {\n      \"ignore\": \"local\"\n    }],\n    \"scss/at-function-pattern\": \"^mdc-.+\",\n    \"scss/at-mixin-pattern\": \"^mdc-.+\"\n  }\n}\n```\n\n#### In YAML config:\n\n```yaml\nrules:\n  custom-media-pattern: ^mdc?-.+\n  custom-property-pattern: ^mdc?-.+\n  selector-class-pattern:\n    - ^mdc?-.+\n    - resolveNestedSelectors: true\n  selector-id-pattern: ^mdc?-.+\n  plugin/selector-bem-pattern:\n    componentSelectors: ^\\.mdc?-{componentName}(?:__[a-z]+(?:-[a-z]+)*)*(?:--[a-z]+(?:-[a-z]+)*)*(?:\\[.+\\])*$\n  scss/dollar-variable-pattern:\n    - ^_?mdc-.+\n    - ignore: local\n  scss/at-function-pattern: ^mdc-.+\n  scss/at-mixin-pattern: ^mdc-.+\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebdenim%2Fstylelint-config-material","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwebdenim%2Fstylelint-config-material","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebdenim%2Fstylelint-config-material/lists"}