Add parsers parameter to readConfig/Sync to support non-JSON formats like YAML (fixes #118).

This commit is contained in:
David Anson 2018-05-23 22:24:40 -07:00
parent 2b4ecdced8
commit 101edd8496
10 changed files with 252 additions and 31 deletions

View file

@ -0,0 +1 @@
@

View file

@ -0,0 +1,2 @@
no-hard-tabs: false
whitespace: false

View file

@ -0,0 +1,6 @@
extends: config-parent-hybrid.toml
MD003:
style: atx_closed
MD007:
indent: 2
no-hard-tabs: false

View file

@ -0,0 +1,6 @@
extends: config-parent.yaml
MD003:
style: atx_closed
MD007:
indent: 2
no-hard-tabs: false

View file

@ -0,0 +1,9 @@
extends = "config-child.json"
MD003 = false
no-hard-tabs = true
[MD007]
indent = 4
[line-length]
line_length = 200

View file

@ -0,0 +1,7 @@
extends: config-child.yaml
MD003: false
MD007:
indent: 4
no-hard-tabs: true
line-length:
line_length: 200