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

Support for tslint-loader #1

Closed
ragnarol opened this issue Jul 10, 2017 · 1 comment
Closed

Support for tslint-loader #1

ragnarol opened this issue Jul 10, 2017 · 1 comment
Assignees

Comments

@ragnarol
Copy link
Owner

Check that tslint problem matcher works with Webpack and expand $awesometsc to include it if not.

@ragnarol ragnarol self-assigned this Jul 10, 2017
@ragnarol
Copy link
Owner Author

ragnarol commented Jul 11, 2017

This should do the trick

    // tslint as errors
{
	"owner": "webpack",
	"severity": "error", 
	"fileLocation": "relative", 
	"pattern": [
		{
			"regexp": "ERROR in ([^:]*)",	
			"file" : 1	
		},
		{
			"regexp": "\\[(\\d+), (\\d+)\\]: (.*)",	
			"line": 1,
			"column": 2,
			"message": 3,
                            "loop": true
		}
	]
}, 
// tslint as warning
{
	"owner": "webpack",
	"severity": "warning", 
	"fileLocation": "relative", 
	"pattern": [
		{
			"regexp": "WARNING in (.*)",	
			"file" : 1	
		},
		{
			"regexp": "\\[(\\d+), (\\d+)\\]: (.*)",	
			"line": 1,
			"column": 2,
			"message": 3,
                            "loop": true
		}
	]
}]

ragnarol pushed a commit that referenced this issue Jul 11, 2017
#1 Support for tslint-loader
#2 Merger errors with language services
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

No branches or pull requests

1 participant