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

Custom reporters only work when specifying the --use-stdin command #151

Closed
daniel-beard opened this issue Oct 5, 2015 · 2 comments
Closed

Comments

@daniel-beard
Copy link
Contributor

  • Custom reporters do not work when calling just the swiftlint command with a folder that contains a valid .swiftlint.yml file
@jpsim
Copy link
Collaborator

jpsim commented Oct 5, 2015

Ah yes, you're right! The code path is split depending on whether or not --use-stdin is used, which makes it all too easy for those to diverge. I'll try to combine those soon to avoid this happening again.

@daniel-beard
Copy link
Contributor Author

There's also one extra log that's being printed with the custom reporters that should be removed:

Loading configuration from '.swiftlint.yml'
[
  {
    "type" : "Name Format",
...

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

No branches or pull requests

2 participants