{"id":15707117,"url":"https://github.com/dcalhoun/postcss-warn-cleaner","last_synced_at":"2025-05-12T19:27:25.770Z","repository":{"id":57328693,"uuid":"63297998","full_name":"dcalhoun/postcss-warn-cleaner","owner":"dcalhoun","description":"Selectively remove PostCSS warnings from your logs.","archived":false,"fork":false,"pushed_at":"2022-02-22T21:38:29.000Z","size":161,"stargazers_count":5,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-12T08:49:19.447Z","etag":null,"topics":["ignore-warnings","postcss","vendor"],"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/dcalhoun.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-07-14T03:11:33.000Z","updated_at":"2023-10-21T23:15:14.000Z","dependencies_parsed_at":"2022-09-05T19:51:53.190Z","dependency_job_id":null,"html_url":"https://github.com/dcalhoun/postcss-warn-cleaner","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dcalhoun%2Fpostcss-warn-cleaner","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dcalhoun%2Fpostcss-warn-cleaner/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dcalhoun%2Fpostcss-warn-cleaner/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dcalhoun%2Fpostcss-warn-cleaner/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dcalhoun","download_url":"https://codeload.github.com/dcalhoun/postcss-warn-cleaner/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253807552,"owners_count":21967380,"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","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":["ignore-warnings","postcss","vendor"],"created_at":"2024-10-03T20:36:48.041Z","updated_at":"2025-05-12T19:27:25.745Z","avatar_url":"https://github.com/dcalhoun.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# postcss-warn-cleaner\n\n[![Greenkeeper badge](https://badges.greenkeeper.io/dcalhoun/postcss-warn-cleaner.svg)](https://greenkeeper.io/)\n[![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)\n[![Build Status](https://travis-ci.org/dcalhoun/postcss-warn-cleaner.svg?branch=master)](https://travis-ci.org/dcalhoun/postcss-warn-cleaner)\n\nSelectively remove PostCSS warnings from your logs. For example, you may choose to ignore autoprefixer warnings resulting from third-party vendor libraries.\n\n### Installation\n```bash\n$ npm install postcss-warn-cleaner\n```\n\n### Options\n```javascript\n{\n  ignoreFiles: false\n}\n```\n\n#### `ignoreFiles`\nSet files from which to ignore warnings.\n\n###### Accepted Values\n- Glob\n- `{Array}` of globs\n\n###### Examples\n```javascript\n// Example: Single glob\nwarnCleaner({\n  ignoreFiles: '**/node_modules/**/*'\n})\n\n// Example: Array of globs\nwarnCleaner({\n  ignoreFiles: [\n    '**/node_modules/**/*',\n    '**/bower_components/**/*'\n  ]\n})\n```\n\n### Webpack Example\n```javascript\nvar warnCleaner = require('postcss-warn-cleaner')\n\nmodule.exports = {\n  module: {\n    loaders: [\n      { test: /\\.css$/, loader: 'style!css!postcss' },\n    }],\n  },\n  postcss: [\n    warnCleaner({\n      ignoreFiles: '**/node_modules/**/*'\n    })\n  ]\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdcalhoun%2Fpostcss-warn-cleaner","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdcalhoun%2Fpostcss-warn-cleaner","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdcalhoun%2Fpostcss-warn-cleaner/lists"}