devongarde / ssc

static site checker (an opinionated HTML nitpicker)
Other
11 stars 2 forks source link

Switch to PF-style configuration file #40

Closed devongarde closed 2 years ago

devongarde commented 3 years ago

ssc uses an INI style configuration file because it is essential that a command line tool's configuration file be obvious and easily human editable from the command line. In those respects, as good as JSON and XML are for data interchange, they are unsuitable as configuration files.

However, INI file format has serious weaknesses particularly when complex structures must be expressed. OpenBSD solved this problem with a number of utilities, such as pf, httpd, smtpd. If a more powerful configuration format is required, use that format.

If programmatic configuration is necessary, also support JSON.

devongarde commented 3 years ago

YAML style configuration would work too

devongarde commented 2 years ago

Won't do.