-
Notifications
You must be signed in to change notification settings - Fork 203
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
Added the Ability to Generate a todo File #155
Merged
Merged
Changes from 3 commits
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
66e7e52
WIP: Adding todo file.
mrbiggred 0bcb871
WIP: renamed to gen-ignore.
mrbiggred dd4db5b
Add test for finding gen-ignore runner.
mrbiggred 9c91ef4
WIP: Test for merging todo is working.
mrbiggred 9dab4dc
Remove commented out test.
mrbiggred 22732b0
Test for Genignore runner.
mrbiggred facc4b4
Added generating todo file to the ReadMe.
mrbiggred bc74d1d
Reword using --todo flag in Readme.
mrbiggred 6b62bda
Renamed temp exclude file to "temp_exclude".
mrbiggred 399c014
Removed some commented out code.
mrbiggred ebe807c
Fixed type in test fixture.
mrbiggred 502e296
Fixed gen ignore test name.
mrbiggred 6197306
Change file exists test assert to be more readable.
mrbiggred 2f7436e
Fixed issue with generating ignore file in Ruby 2.4.1.
mrbiggred 5dba9e2
Fixed Rubocop caching the working directory during tests.
mrbiggred cf90f27
Fixed typo in Readme.
mrbiggred 75f112c
Refactor the load yaml config.
mrbiggred d1fa3b6
Changed cli option to --generate-todo.
mrbiggred f6e56ad
Print Todo warning.
mrbiggred 3f80ba3
Fixed a failing merge settings test.
mrbiggred d1b9976
Use temp file when generating ignore file.
mrbiggred 241a412
Merge branch 'master' into feature-add-todo-file
searls 1099958
Fixed issue with Rubocop config settings leaking between tests.
mrbiggred File filter
Filter by extension
Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ignorant comment for still having not pulled down the code to run it:
Does standard print a warning when it's running in "todo" mode? I'm ok with naming it "todo" only if that's the case. Come to think of it, printing a progress-to-completion whenever a todo ignore was present would be pretty great.
What I want to avoid is anyone using this as a crutch to think that they're "passing" standard when the presence of a file is actually giving them a free pass
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@searls if I understand the above correctly you would like Standard to notify the user that the todo file is being used. Currently it does not but I like that idea.
Something like:
Let me know if I misunderstood what you are asking for. Thanks.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, something like this would be good. I might make it slightly more scary: