Skip to content

Conversation

whamondg
Copy link
Contributor

@whamondg whamondg commented Oct 4, 2017

Related to #18

@whamondg whamondg changed the title add support for "json" terminating property Allow additional terminating properties to be configured Oct 9, 2017
@@ -50,5 +50,18 @@ ruleTester.run('terminating-properties', rule, {
errors: [{
message: '"to.exist" used as function'
}]
}, {
options: [{terminators:['something', 'somethingElse']}],
Copy link
Owner

Choose a reason for hiding this comment

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

could you change the name of that option to properties instead? that would match what I proposed in #20

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I have done that, what do you think?

Copy link
Owner

Choose a reason for hiding this comment

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

sorry, I missed that

@Turbo87 Turbo87 merged commit 13d5967 into Turbo87:master Oct 24, 2017
@Turbo87
Copy link
Owner

Turbo87 commented Oct 24, 2017

nice work, thanks @whamondg!

@Turbo87
Copy link
Owner

Turbo87 commented Oct 24, 2017

I just noticed that we haven't documented the option though. Could you maybe work on a follow-up PR that adds a few words about the new option to the README?

@whamondg whamondg deleted the json-terminator branch October 26, 2017 14:14
@whamondg whamondg restored the json-terminator branch October 26, 2017 14:14
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.

2 participants