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

Document Problem Matcher Commands #198

Merged
merged 8 commits into from
Nov 6, 2019
Merged

Conversation

thboop
Copy link
Collaborator

@thboop thboop commented Oct 31, 2019

Rendered

Resolves #56

"owner": "eslint-compact",
"pattern": [
{
// The pattern that provides groups to match against
Copy link
Contributor

Choose a reason for hiding this comment

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

comments are not legal JSON

Copy link
Contributor

Choose a reason for hiding this comment

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

we shouldnt suggest customers use them, if it we switch to a different json parser in the future, it might break.

docs/problem-matchers.md Outdated Show resolved Hide resolved
docs/problem-matchers.md Outdated Show resolved Hide resolved
docs/problem-matchers.md Outdated Show resolved Hide resolved
docs/problem-matchers.md Outdated Show resolved Hide resolved
docs/problem-matchers.md Outdated Show resolved Hide resolved

The following fields are available for problem matchers:

```
Copy link
Contributor

Choose a reason for hiding this comment

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

a little bit weird since this isnt valid json

might be interesting to see how vscode docs describe it

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Copy link
Contributor

Choose a reason for hiding this comment

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

fails in nodejs: JSON.parse('{\n// this is a comment\n"a": "b" }')

not sure we should encourage this, binds us to a particular parser

docs/problem-matchers.md Outdated Show resolved Hide resolved
@thboop thboop merged commit 47357dd into master Nov 6, 2019
@thboop thboop deleted the users/thboop/addProblemMatcherdocs branch November 6, 2019 21:26
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 Problem matcher docs
2 participants