Skip to content

Commit 89d0a7a

Browse files
committed
add a short readme section for .jsfmtrc
1 parent 42ac8ab commit 89d0a7a

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,16 @@ jsfmt [flags] [path ...]
3030
3131
Config:
3232
--comments=true, -c=true: include comments in result
33-
--options="options.json", -o "options.json": esformatter options to override when formatting
3433
```
3534

3635
At least one action is required. If no path is given it will read from `stdin`. A directory path will recurse over all *.js files in the directory.
3736

37+
### .jsfmtrc
38+
39+
Any of the [esformatter](https://github.com/millermedeiros/esformatter) formatting
40+
options can be overwritten via a `.jsfmtrc` file. The file is parsed using
41+
[rc](https://github.com/dominictarr/rc), which accepts either a `json` or `ini` formatted file.
42+
3843
Rewriting
3944
---
4045

0 commit comments

Comments
 (0)