-
Notifications
You must be signed in to change notification settings - Fork 33
Can't use tslint without default options #40
Comments
Ok, so I believe the issue is that the default is to expect source/tslint.json, which is fine, but the readme makes it kind of seem that you don't need to do anything else besides require tslint and call it simply. I'd document the requirement. |
As just an FYI, I have not been able to get this linter to report anything yet. Here is a sample task:
And if I |
How are you including it? For example, this is working for me:
where my
The default rule configuration is If I change your task to this:
I'm seeing it work. So maybe it is something with the rules? I am seeing an issue with the |
Wow. So the issue was in the quotemark area. I had:
Switching to the array of values helped. So I can now verify that it works - but you just have to be real careful (obviously). I still think we have a few issues. The doc issue is important I think because it won't work out of the box (right?) or should it work and there is another issue? |
btw - so sorry for the delay in responding - this came in while I was on vacation last week and this has been hell week for me :) |
As a follow up, I'm doing my link task in watch:
and when I edit code while running But then... it's weird. If I edit a JS file, it won't restart. So it's broken, but it's like the CLI doesn't know it is broken. |
It should work just by including the following in your gulpfile:
then a
as of
the line added is this one:
:) |
Things are coming together now - thank you! |
If I try to do just
gulp.task('lint', tslint);
as the readme suggests, I get:The text was updated successfully, but these errors were encountered: