standard / ts-standard

Typescript style guide, linter, and formatter using StandardJS
https://www.npmjs.com/package/ts-standard
MIT License
464 stars 36 forks source link

how to use ts-standard in intellij? #80

Closed automaticdreams closed 4 years ago

automaticdreams commented 4 years ago

ts-standard is linting my .ts files nicely, but how do I get Intellij to do it automatically, like it does with standard and .js files?

toddbluhm commented 4 years ago

So if you want native support in Intellij, look at this guide: https://github.com/standard/standard/blob/master/docs/webstorm.md

The guide tells you how to set up regular standard for IntelliJ. Then you will actually want to use this project: https://github.com/standard/eslint-config-standard-with-typescript instead and provide that plugin/configure into the eslintrc file. Hopefully, that makes sense.

Essentially, IntelliJ supports standard by just using the standard eslint configuration file. The above project is the standard-typescript eslint configuration file. You use ts-standard in IntelliJ by not actually using it 😜

toddbluhm commented 4 years ago

Closing due to inactivity.

GaryGSC commented 2 years ago

Here's an issue on JetBrains' issue tracker, asking them to natively support ts-standard. From what I understand, 👍s help.