Skip to content
This repository has been archived by the owner on Mar 25, 2021. It is now read-only.

Support yaml configuration #1598

Closed
remcohaszing opened this issue Oct 5, 2016 · 5 comments
Closed

Support yaml configuration #1598

remcohaszing opened this issue Oct 5, 2016 · 5 comments

Comments

@remcohaszing
Copy link

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.

@adidahiya
Copy link
Contributor

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

@jkillian
Copy link
Contributor

jkillian commented Oct 5, 2016

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

@adidahiya adidahiya added P3 and removed P2 labels Oct 5, 2016
@remcohaszing
Copy link
Author

JSON comments help a lot! 😄 However, I'd still prefer yaml support. 😉

@hronro
Copy link

hronro commented Aug 1, 2017

+1

jhanschoo added a commit to jhanschoo/tslint that referenced this issue Nov 1, 2017
jhanschoo added a commit to jhanschoo/tslint that referenced this issue Nov 1, 2017
jhanschoo added a commit to jhanschoo/tslint that referenced this issue Nov 1, 2017
jhanschoo added a commit to jhanschoo/tslint that referenced this issue Nov 5, 2017
jhanschoo added a commit to jhanschoo/tslint that referenced this issue Nov 6, 2017
jhanschoo added a commit to jhanschoo/tslint that referenced this issue Nov 6, 2017
jhanschoo added a commit to jhanschoo/tslint that referenced this issue Nov 7, 2017
@ajafff
Copy link
Contributor

ajafff commented Nov 8, 2017

Fixed by #3433

@ajafff ajafff closed this as completed Nov 8, 2017
HyphnKnight pushed a commit to HyphnKnight/tslint that referenced this issue Apr 9, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

5 participants