aboutsummaryrefslogtreecommitdiff
path: root/.tidyallrc
blob: bc3a0cc2e1be133f6455454599c923bbce2ecb4e (plain)
  1. ;; Settings for tidyall
  2. ;: Usage: tidyall -a
  3. [PerlTidy]
  4. select = **/*.{pl,pm,t,psgi}
  5. argv = --profile=$ROOT/.perltidyrc
  6. ;; TODO: write/extend plugin to support TAB
  7. ;; workaround: jq --tab --sort-keys . < $file | sponge $file
  8. ;; workaround: jq --tab --sort-keys '.features|=sort_by(.geometry.type)|.features|=sort_by(.properties.name)' src/data/staff.json | sponge src/data/staff.json
  9. ;[JSON]
  10. ;select = src/data/**/*.json
  11. ;; TODO: package plugin
  12. ;; workaround: js-beautify --end-with-newline --indent-with-tabs --replace $file
  13. ;[JSBeautify]
  14. ;select = src/js/**/*.js bin/*.js
  15. ;ignore = src/js/lib/*