-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ability to process 1 CSS file with multiple components/blocks. #57
Comments
Seems like a decent feature request to me. But it does add some complexity. And, you could still lint your stylesheets as they currently are, if you On Wed, Aug 5, 2015 at 9:43 AM, Brett Jankord [email protected]
|
I can see how linting before concatenation would work. Our use of LESS might mean we need to compile our .less partials to individual CSS files. Lint those, then blow them away and then compile the LESS into 1 file. |
Oh I see ... I missed the Less part. Once the version of PostCSS with custom parsers comes out maybe this will On Wed, Aug 5, 2015 at 11:24 AM, Brett Jankord [email protected]
|
@bjankord See https://github.com/postcss/postcss-bem-linter#multiple-definitions, which applies to the just-released version 0.6.0 |
And let me know if it doesn't work for you! |
Yep, this works for our needs! Thank's for the quick addition. |
In our app, we are currently compiling .less files into 1 .css file. We'd like to use postcss-bem-linter and define where a component begins and ends via comments in our .less and have postcss-bem-linter run on this one file.
postcss-bem-linter already has support for defining a component via
/** @define MyComponent */
Is it possible to add the ability to comment that a component's CSS has ended,
/** @end MyComponent */
We are thinking something like:
my-compiled-file.css
The text was updated successfully, but these errors were encountered: