suitcss / preprocessor

A future-facing CSS preprocessor (used by SUIT CSS)
http://suitcss.github.io
MIT License
135 stars 25 forks source link

Fix issue with no options being passed to bemLint and reporter #14

Closed simonsmith closed 8 years ago

simonsmith commented 8 years ago

This moves the transform callback into a function that is returned with access to the current merged options in a closure. Ensures that bem-linter and reporter get any options.

Added a test where it throws an error on conformance failure. This is what I expect will be a common use to fail builds. Will be useful for our own npm test in the future.

giuseppeg commented 8 years ago

looks good to me!