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

Add format and output options to CLI #152

Merged
merged 10 commits into from
Sep 18, 2015

Conversation

DanPurdy
Copy link
Member

Added 2 new flags to the CLI

  • -f --format [format]
  • -o --output [output]

This makes the CLI feature complete compared to the current sass-lint build. Format allows you to specify an output format from any of the eslint formatters. Output allows you to specify and output directory & file to write linting results to.

Also added tests for each option.

There's a slight overlap in some of the files added here as in #151 which should probably be merged first due to it fixing bugs.

closes #127

DCO 1.1 Signed-off-by: Dan Purdy danjpurdy@gmail.com

@DanPurdy DanPurdy added this to the 1.3.0 milestone Sep 10, 2015
@DanPurdy DanPurdy mentioned this pull request Sep 10, 2015
Wanted to debug travis mainly here with a build.
@DanPurdy
Copy link
Member Author

Test failing could be to do with the issue in #151, i doubt it very much but will wait to fix this once that has been merged in.

@DanPurdy
Copy link
Member Author

Looking at the Travis output, it's installing sass-lint globally at 1.2.0, is the current branch getting merged into that? If not that will be the reasons for the test failing as the new functionality doesn't exist..

@DanPurdy
Copy link
Member Author

Now also closes #181

Added another test case and fixed the failing tests.

@bgriffith
Copy link
Member

Looks good.

bgriffith added a commit that referenced this pull request Sep 18, 2015
Add format and output options to CLI
@bgriffith bgriffith merged commit 6fce433 into sasstools:develop Sep 18, 2015
@DanPurdy DanPurdy deleted the feature/cli-options branch October 20, 2015 23:20
donabrams pushed a commit to donabrams/sass-lint that referenced this pull request Nov 19, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add format option to CLI
3 participants