Skip to content
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

Remove beforeLint #40

Merged
merged 3 commits into from
Sep 22, 2016
Merged

Remove beforeLint #40

merged 3 commits into from
Sep 22, 2016

Conversation

simonsmith
Copy link
Member

Fixes #35

Also played around with a solution to #36 and it should be pretty easy, and also allow a beforeLint style feature anyway.

@giuseppeg
Copy link
Member

@simonsmith looks good. You left a few

expect(stdout).to.not.contain('beforeLint ran');

assertions that we should remove.

@simonsmith
Copy link
Member Author

Good spot! Removed

@giuseppeg
Copy link
Member

Feel free to Squash and merge if tests pass

This was an underused feature and adds complexity to the preprocessor.
This could be solved more elegantly by allowing the user to pass their
own `transform` function to postcss-import.

Fixes #35

Improve variable naming

This makes it a little clearer what `merged` is

Remove superfluous comments

These are too basic to need comments
* Run lint after tests as often code style is broken intentionally
during refactoring
* Reduce duplication of mocha watch
@simonsmith simonsmith merged commit 6be3f85 into master Sep 22, 2016
@simonsmith simonsmith deleted the beforelint-refactor branch September 22, 2016 11:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants