-
Notifications
You must be signed in to change notification settings - Fork 885
Conversation
f45e0cb
to
0da324c
Compare
Just some comments since I'm interested in such a feature, is it possible to make |
yeah sure. something like |
That makes sense, so it'll be opt in? I more need something that looks like |
glob.sync(file).forEach(processFile); | ||
} | ||
const fileArgs: string[] = argv._; | ||
const files: string[] = fileArgs.reduce((list: string[], arg: string) => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no need for : string[]
typedef
Filed #915 to track |
Great feature! This brings tslint closer to the behavior of other popular linters, e.g., eslint. Is there any progress on the revision? |
ping @louy -- will you get back to this PR or should someone else take up this feature? |
@adidahiya didn't you say that we should wait for #858 before moving on with this one? TBH I'm thinking of a different approach now. here's how I suggest the workflow to be:
so in order to exclude this is how I imagine |
@louy I don't think |
I hold a slightly different opinion. For But for Of course, able to decouple them is a good thing. So how about:
Just saying on top of my head. 😏 |
@unional Isn't TypeScript language services is the same as |
Agree~~ But as mentioned #857 (comment), I thought we are talking about project here. 😄
Code-wise, yes. Application-wise, no.
|
Closing this PR since it's very out of date. Let's continue discussion in #692 if necessary. |
Accepting directories as arguments in cli. For example
tslint .
Related: #692
Note:
node_modules
andtypings
are now ignore by default, even in subdirectories.