csscomb / csscomb.js

CSS coding style formatter
http://csscomb.com/
MIT License
3.29k stars 458 forks source link

"exclude" paths are ignored when passing absolute paths to csscomb #174

Open cy6erskunk opened 10 years ago

cy6erskunk commented 10 years ago
"exclude": [
  "node_modules/**"
]

As a result all css files from node_modules are checked despite of exlude option

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/1519037-exclude-paths-are-ignored-when-passing-absolute-paths-to-csscomb?utm_campaign=plugin&utm_content=tracker%2F214563&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F214563&utm_medium=issues&utm_source=github).
cy6erskunk commented 10 years ago

It is minimatch-specific behaviour, it can be "fixed" (with some caveats) by writing "**/node_modules/**", but it would be nice if csscomb could try to cut off pwd from the beginning of the absolute path.