diff options
Diffstat (limited to '.tidyallrc')
-rw-r--r-- | .tidyallrc | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/.tidyallrc b/.tidyallrc new file mode 100644 index 0000000..bc3a0cc --- /dev/null +++ b/.tidyallrc @@ -0,0 +1,18 @@ +;; 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/* |