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 prefix to examples #25

Merged
merged 2 commits into from
May 17, 2017
Merged

Add prefix to examples #25

merged 2 commits into from
May 17, 2017

Conversation

avegancafe
Copy link
Contributor

This mimics the formatting on any of the rules pages, and adds the rule name as a prefix to each of the example line items

TSLint Docs:

rule semicolon 2017-05-03 15-04-21

Before:

Examples
 [true, "check-branch", "check-operator", "check-typecast"]

After:

Examples
"whitespace": [true, "check-branch", "check-operator", "check-typecast"]

@avegancafe avegancafe changed the title [KH] add prefix to examples Add prefix to examples May 3, 2017
@tkqubo tkqubo merged commit 0e86f07 into tkqubo:master May 17, 2017
@tkqubo
Copy link
Owner

tkqubo commented May 17, 2017

Sorry for my late review. But thanks so much for your PR, it LGTM.

@tkqubo
Copy link
Owner

tkqubo commented May 17, 2017

@kyleholzinger

@avegancafe
Copy link
Contributor Author

No worries. Thanks for the merge @tkqubo !

@avegancafe
Copy link
Contributor Author

Once we make a new release, we should be able to fix peoples' problems in #4 with the other tslint presets

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