;; Settings for tidyall ;: Usage: tidyall -a [PerlTidy] select = **/*.{pl,pm,t,psgi} argv = --profile=$ROOT/.perltidyrc ;; TODO: write/extend plugin to support TAB ;; workaround: jq --tab --sort-keys . < $file | sponge $file ;; workaround: jq --tab --sort-keys '.features|=sort_by(.geometry.type)|.features|=sort_by(.properties.name)' src/data/staff.json | sponge src/data/staff.json ;[JSON] ;select = src/data/**/*.json ;; TODO: package plugin ;; workaround: js-beautify --end-with-newline --indent-with-tabs --replace $file ;[JSBeautify] ;select = src/js/**/*.js bin/*.js ;ignore = src/js/lib/*