Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upHow to use Standard with TypeScript in Sublime Text 3? #1357
Comments
This comment has been minimized.
This comment has been minimized.
feross
added
the
question
label
Aug 13, 2019
This comment has been minimized.
This comment has been minimized.
|
Thank you, @feross. I think you may have (partially) misinterpreted my question, which may be my bad, I apologize if I phrased it confusingly. I was looking for a recommended way of making these three work nicely together, in other words, I wasn't (yet) experiencing a particular problem that the participants on #1283 seem to be having. In any case, I have since figured out a way. So for all of those in the same shoes as I was in yesterday, you will need to use ESLint directy, as opposed to Standard which uses it internally. The components you'll need are: The Other than these, you will need an For SublimeLinter to work properly, add this in Preferences > Package settings > SublimeLinter > Settings:
If you need the linting to happen for a different file type, get your hands on the proper selector by opening a blank file, setting its file type to the desired one, and going to Tools > Developer > Show Scope Name for the scope string. Copy this string to the |
This comment has been minimized.
This comment has been minimized.
|
@gaborluk, I've just opened standard/eslint-config-standard-with-typescript#123. |
This comment has been minimized.
This comment has been minimized.
|
Good idea, @mightyiam. |
gaborluk commentedAug 13, 2019
•
edited
Now that TSLint is deprecated, is there a way to use Standard and TypeScript and SublimeLinter together? Using the docs, I have managed to make Standard and TypeScript, as well as Standard and SublimeLinter play together respectively, but I don't know how to go about integrating all three. Has anyone managed to do it? Your help would be much appreciated.