Skip to content

Disable/re-enable rules from within source code comments. Fixes #4. - #111

Merged
jpsim merged 6 commits into
masterfrom
jp-comment-commands
Sep 1, 2015
Merged

jpsim merged 6 commits into
masterfrom
jp-comment-commands

Conversation

@jpsim

@jpsim jpsim commented Aug 30, 2015

Copy link
Copy Markdown
Collaborator

First draft addressing #4. Still need to write some tests, but seems to be working from what I can tell from manually testing. /cc @keith @segiddins

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

shouldn't force_cast be .+ and then captured to determine which rule it is?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the rule capturing was already being done by NSScanner, but I had accidentally hardcoded force_cast in here as part of my testing.

@jpsim

jpsim commented Sep 1, 2015

Copy link
Copy Markdown
Collaborator Author

Good enough! :shipit:

jpsim added a commit that referenced this pull request Sep 1, 2015
Disable/re-enable rules from within source code comments. Fixes #4.
@jpsim
jpsim merged commit 56fe7b0 into master Sep 1, 2015
@jpsim
jpsim deleted the jp-comment-commands branch September 1, 2015 00:03
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.

2 participants