-
Notifications
You must be signed in to change notification settings - Fork 114
Enhancement/typescript automation #351
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
Enhancement/typescript automation #351
Conversation
|
I deactivated some rules from the original TSLint configuration because there was too many errors and TSLint is now a blocker in the build. We will have to discuss if we reactivate them in the future:
|
|
AWESOME job! You should've spent many of your weekend for this job! |
|
I've tried yeoman ts creation and it works well. |
|
I saw that you documented the way to include the plugin. 125 TSLint errors left hahahaha |
|
Let me correct the tslint errors. IntelliJ will help me! |
|
It's okay, I'm already doing it |
|
OK, cheers! |
|
Fixed the TSLint errors, I removed some more rules:
|
|
@swkimme I think we should get the option 'typedef check' back so that we can pass the whole app in typescript.
|
|
@corneadoug I've got some big project using Typescript for reference. Plz take a look at! |
|
For what I see from that repo, all variable declarations do not need a type? |
|
You have to declare class or interface 'members' with type, and for just a variable, you don't need to put type everytime. (O) Also for function parameters, Typescript has a type inference system for it, you don't need to type it everytime. |
|
@swkimme Since you know better about typescript synthax, can you change 'typedef' to true in tslint.json, run |
|
Positive for call-signature and parameter,
but negative for property and variables. Also for function parameter, I'd like to leave it optional since sometime it will be quite too much verbose when we got some code snippets and paste it. So, what if we just add call-signature typedef only?
Or if you prefer adding parameter typedef, I'm OK with it. |
|
@corneadoug |
|
Any updates? |
|
I'm OK with merge it, without yoman. |
|
Didn't got time to work on it recently, there is also some tslint errors left with the rules we set. I will try to finish it this week. |
|
@swkimme I have a problem with both grunt-ts and grunt-typescript |
|
@swkimme okay, nevermind, errors on IDE suddenly disappeared... |
Issue described https://issues.apache.org/jira/browse/ZEPPELIN-350 This PR fixes CI test failure by changing spark package download address from http://www.us.apache.org/dist/spark to http://archive.apache.org/dist/spark Author: Lee moon soo <moon@apache.org> Closes ZEPL#351 from Leemoonsoo/ZEPPELIN-350 and squashes the following commits: 0f6a749 [Lee moon soo] Update spark.download.url, too 0ead0b9 [Lee moon soo] Change address to archive.apache.org from www.apache.org to download all spark packages
Branch to help #321