hsiaosiyuan0 edited a comment on issue #154: enhancing the experience of 
collaboration
URL: https://github.com/apache/dubbo-js/issues/154#issuecomment-552072135
 
 
   **About Linters**
   
   We'll use linter tools to keep two points:
   
   - Our code is working correctly with the type system of typescript
   - Our code is under only one style, like indents, spaces etc.
   
   Above are both covered by TSLint early, but since TSLint is made as being 
deprecated, they can be resolved more reasonable:
   
   - For type, `tsc --noEmit` is preferred to do this work
   - For style, ESLint plus typescript and prettier plugins is easy to use and 
it'll only care about its own job - just code style. 
   
   I also found a list of code style rules when I was searching something about 
`tslint:recommend`, here is the link 
[Microsoft-TypeScript-Coding-guidelines](https://github.com/Microsoft/TypeScript/wiki/Coding-guidelines#names),
 you'll notice on top of that page it says it's not for community but just for 
the contributors of the typescript project itself, although it says so I still 
think it's valuable to be complied with since the microsoft-typescript-project 
is the source of all other projects based on typescript, am I right?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to