SonarSource / SonarTS

Static code analyzer for TypeScript
GNU Lesser General Public License v3.0
761 stars 53 forks source link

[Question] Running this inside of Eslint? [Not: eslint-plugin-sonarjs] #853

Open fbartho opened 5 years ago

fbartho commented 5 years ago

As of recent updates over the past few months, the TypeScript-core team has contributed to eslint to support directly linting TypeScript code. Context: Announcement Post

About a month ago, my team switched entirely away from TSLint to ESLint with TypeScript Support. We're about to expand our TypeScript from our team to multiple teams within our company, and we just discovered SonarTS.

Is it possible to run this project directly inside of ESLint & still get all the rules that need Type Support? I'd love to include this project in my recommendations for the company's stack.

Thanks in advance!

vilchik-elena commented 5 years ago

I didn't try myself yet but this one should work -> https://github.com/typescript-eslint/typescript-eslint/tree/master/packages/eslint-plugin-tslint