File tree Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -48,11 +48,18 @@ Any of the [esformatter](https://github.com/millermedeiros/esformatter) formatti
48
48
options can be overwritten via a ` .jsfmtrc ` file. The file is parsed using
49
49
[ rc] ( https://github.com/dominictarr/rc ) , which accepts either a ` json ` or ` ini ` formatted file.
50
50
51
+ A ` .jsfmtrc ` will be read if it exists in any of the following directories
52
+ * a local .jsfmtrc or the first found looking in ./ ../ ../../ ../../../ etc.
53
+ * $HOME/.jsfmtrc
54
+ * $HOME/.jsfmt/config
55
+ * $HOME/.config/jsfmt
56
+ * $HOME/.config/jsfmt/config
57
+ * /etc/jsfmtrc
58
+ * /etc/jsfmt/config
59
+
51
60
` jsfmt ` will also attempt to pickup and use the configured ` indent `
52
61
variable from your ` .jshintrc ` configuration file, if present.
53
62
54
- A config file can be manually specified using ` --config config.json ` .
55
-
56
63
Rewriting
57
64
---
58
65
You can’t perform that action at this time.
0 commit comments