Sridhar Ratnakumar
e4c88ab14e
Run treefmt to format examples/python
2022-05-08 15:59:20 -04:00
Jonas Chevalier
b25cfa461f
formatter: add rufo ( #113 )
2021-05-08 16:26:26 +00:00
zimbatm
f640dd9c9d
terraform fmt workaround
...
See #97
2021-05-07 00:21:06 +02:00
Andika Demas Riyandi
ca59a61d0c
Always expanding the path given in the treefmt.toml ( #107 )
...
* add cabal-fmt formatter
* always expand the path provided in treefmt.toml
* adding */ format in expanding path for string
* adding unit test for expand_if_path function
* Update src/lib.rs
* revert treefmt.toml
Co-authored-by: Jonas Chevalier <zimbatm@zimbatm.com>
2021-05-06 10:02:32 +02:00
Jonas Chevalier
f7e2aa079e
expand includes and excludes ( #86 )
...
If includes or excludes include a / we consider them to be paths and
expand them.
2021-03-02 17:26:50 +01:00
zimbatm
6b72db4087
docs: add list of known formatters
2021-02-26 22:02:16 +01:00
Andika Demas Riyandi
3ad67a3851
adding working directory option on prjfmt.toml for each formatter ( #59 )
...
* adding working directory option on prjfmt.toml for each formatter
* rename workdir into work_dir
* switch from xshell into process::Command
* fix unordered command_context by changing to BTreeMap
2021-02-19 17:02:33 +01:00
zimbatm
941fadc964
move the examples/treefmt.toml to the top-level
2021-02-18 12:41:47 +01:00
zimbatm
7a45f41e2a
include/exclude
2021-02-18 11:47:13 +01:00
zimbatm
61f6d5a34c
update the tagline
...
and make it rime
2021-02-17 15:47:24 +01:00
Jonas Chevalier
08d9fcf21f
rename to treefmt ( #56 )
2021-02-15 20:22:03 +00:00
Andika Demas Riyandi
d58362ca3a
Detect mtimes file after formatting ( #50 )
...
* Detect mtimes file after formatting
* fix test
* remove all .as_path() function
2021-02-11 15:54:10 +01:00
zimbatm
e0755631c9
examples: add shfmt
2021-02-04 17:46:00 +01:00
Andika Demas Riyandi
1669bd4f05
Merge branch 'master' into adding-formatter
2021-02-04 23:24:49 +07:00
Andika Demas Riyandi
0f254124fb
remove bash attribute from devshell, and use rustfmt --edition 2018
2021-02-04 23:22:19 +07:00
Andika Demas Riyandi
0719c65893
Add javascript, golang, and python formatter to examples folder
2021-02-04 22:28:05 +07:00
Basile Henry
02271a2ef2
Add elm-format example
2021-02-04 09:00:13 +01:00
Andika Demas Riyandi
f3ea689221
change config from 'args' to 'options' to match formatters
2021-02-03 17:19:11 +07:00
Basile Henry
58074d9c30
Use ignore for better control over globbing
...
resolves #13 : Includes and excludes
resolves #24 : Follows .gitgnore directives
2021-01-28 10:34:13 +01:00
Andika Demas Riyandi
19f77cf969
rename project, adding cache mechanism ( #12 )
...
* rename project, adding cache mechanism
* refactor code and finalize cachin evaluation
* fix caching evaluation and manifest creation
2021-01-25 15:01:08 +01:00
Andika Demas Riyandi
d40f78417a
first working example
2021-01-11 15:12:16 +07:00
Andika Demas Riyandi
431a174b9d
fix new fmt.toml parsing
2021-01-07 17:27:17 +07:00
Andika Demas Riyandi
621ddac2af
adding an command to add/check ( #1 )
...
* adding an command to add/check
* Make cargo fmt working on rust folder
* fix the build with `nix develop -i`
Co-authored-by: zimbatm <zimbatm@zimbatm.com>
2021-01-01 11:53:16 +00:00
Andika Demas Riyandi
b5efb65465
add examples folder for testing
2020-12-18 17:27:29 +07:00