Tslint: Support yaml configuration

Created on 5 Oct 2016  路  5Comments  路  Source: palantir/tslint

It would be nice if the configuration file could be written in yaml format instead of json.

why? Unlike json, yaml supports comments.

why? Both eslint and stylelint support this. It's nice if linters support similar configuration files.

P3 Accepting PRs Feature Request

Most helpful comment

@remcohaszing We actually support comments in our configuration JSON files. Yes, technically outside of the standard, but it's useful! 馃槃

All 5 comments

yeah, that'd be nice. stylelint uses cosmiconfig, which I'm tracking as an enhancement here #1071. accepting PRs :)

@remcohaszing We actually support comments in our configuration JSON files. Yes, technically outside of the standard, but it's useful! 馃槃

JSON comments help a lot! :smile: However, I'd still prefer yaml support. :wink:

+1

Fixed by #3433

Was this page helpful?
0 / 5 - 0 ratings