-
Notifications
You must be signed in to change notification settings - Fork 557
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
TS6133: 'args' is declared but never used. #325
Comments
I think there is a no-unused-var setting. But can't you just leave the args
out?
…On 30 Mar 2017 10:03, "phil123456" ***@***.***> wrote:
Hi,
I tried to put my code in that seed, but I keep getting these although I
set "no-unused-expression": false, in tslint.json (not sure this suffice or
is related)
these errors are all over the place, I tried commenting and removing
unused stuffs, but here in a pipe, I dont need to use args parameter
can you hint me how to sort this ? why does it stop compilation at all ?
thanks
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#325>, or mute the
thread
<https://github.com/notifications/unsubscribe-auth/ACWx9uw01DOpkdMfN-_KeHglS59E11JHks5rq2GygaJpZM4Mt_-Z>
.
|
I commented the args, but I dont like that, they are default pie transform args, thought it would be better to leave them in case I want to use them no there is no no-unused-var setting, I'll give it a try actually it would be better to leave that on and ignore some cases |
Hm, im mistaken then. You could either comment it out/remove it, or add a
tslint ignore line above it
…On Thu, Mar 30, 2017 at 10:37 AM, phil123456 ***@***.***> wrote:
I commented the args, but I dont like that, they are default pie transform
args, thought it would be better to leave them in case I want to use them
no there is no no-unused-var setting, I'll give it a try
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#325 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ACWx9mSxj2H4kseGQ_ZBpppPZVKid6R_ks5rq2njgaJpZM4Mt_-Z>
.
|
I tried tslint ignore with no luck btw I get tons of [42, 9]: if statements must be braced in chrome console, I think it's a nice feature, but is there no way to disable some of these ? |
Thats all configurable in the TSHint json file. That's no issue from this starter On a personal note, it's better to follow the conventions in the long run. |
ok, thanks |
The |
nice, thanks |
Hi,
I tried to put my code in that seed, but I keep getting these although I set "no-unused-expression": false, in tslint.json (not sure this suffice or is related)
these errors are all over the place, I tried commenting and removing unused stuffs, but here in a pipe, I dont need to use args parameter
can you hint me how to sort this ? why does it stop compilation at all ?
thanks
The text was updated successfully, but these errors were encountered: