{"id":26527938,"url":"https://github.com/mcler/postcss-discard-overridden-props","last_synced_at":"2026-04-19T03:32:37.763Z","repository":{"id":49536322,"uuid":"139737309","full_name":"mcler/postcss-discard-overridden-props","owner":"mcler","description":"PostCSS plugin, which discards overridden properties in every CSS rule.","archived":false,"fork":false,"pushed_at":"2021-06-15T16:07:44.000Z","size":38,"stargazers_count":3,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-30T13:36:49.880Z","etag":null,"topics":["postcss","postcss-plugin","postcss-plugins"],"latest_commit_sha":null,"homepage":null,"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/mcler.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":"2018-07-04T15:09:16.000Z","updated_at":"2019-09-03T13:42:47.000Z","dependencies_parsed_at":"2022-09-21T08:50:19.630Z","dependency_job_id":null,"html_url":"https://github.com/mcler/postcss-discard-overridden-props","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mcler/postcss-discard-overridden-props","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mcler%2Fpostcss-discard-overridden-props","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mcler%2Fpostcss-discard-overridden-props/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mcler%2Fpostcss-discard-overridden-props/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mcler%2Fpostcss-discard-overridden-props/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mcler","download_url":"https://codeload.github.com/mcler/postcss-discard-overridden-props/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mcler%2Fpostcss-discard-overridden-props/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31993772,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-18T20:23:30.271Z","status":"online","status_checked_at":"2026-04-19T02:00:07.110Z","response_time":55,"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":["postcss","postcss-plugin","postcss-plugins"],"created_at":"2025-03-21T15:36:30.901Z","updated_at":"2026-04-19T03:32:37.747Z","avatar_url":"https://github.com/mcler.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# postcss-discard-overridden-rules\nPostCSS plugin, which discards overridden properties in every CSS rule.\n\n## Example\n### Input\n\n```css\n.rule1 {\n  color: red;\n  display: block;\n  display: inline;\n}\n\n.rule2 {\n  color: green;\n  display: block !important;\n  display: inline;\n}\n\n.rule3 {\n  color: blue;\n  display: block;\n  display: inline !important;\n}\n\n@media (max-width: 120px) {\n  .rule4 {\n    color: blue;\n    display: block;\n    display: inline !important;\n  }\n}\n```\n\n### Output\n\n```css\n.rule1 {\n  color: red;\n  display: inline;\n}\n\n.rule2 {\n  color: green;\n  display: block !important;\n}\n\n.rule3 {\n  color: blue;\n  display: inline !important;\n}\n\n@media (max-width: 120px) {\n  .rule4 {\n    color: blue;\n    display: inline !important;\n  }\n}\n```\n\n## Options\n* `log` (default: `false`) a logging flag.\n* `noDelete` (default: `false`) a flag whether found overridden properties will be deleted (works only with `log` set to `true`).\n* `ignorePrefix` (default: `false`) a flag whether plugin ignores prefixed properties and values.\n* `props` (default: `false`) an array of string with properies allowed to proccess by plugin.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmcler%2Fpostcss-discard-overridden-props","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmcler%2Fpostcss-discard-overridden-props","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmcler%2Fpostcss-discard-overridden-props/lists"}