You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There was the request to display the use a configuration file.[1]
The documentation now includes a minimal example and indicates
an example in a larger project.
[1] #142
Signed-off-by: Norwid Behrnd <[email protected]>
Copy file name to clipboardexpand all lines: README.md
+12
Original file line number
Diff line number
Diff line change
@@ -103,6 +103,18 @@ For more options, read
103
103
fprettify -h
104
104
```
105
105
106
+
## Configuration file
107
+
108
+
Adjusted parameters of `fprettify` can be stored in a configuration file in a pattern like
109
+
110
+
```sh
111
+
# Explicitly define / overwrite the program's defaults e.g.
112
+
indent=2
113
+
whitespace=0
114
+
```
115
+
116
+
The rules are activated by the optional parameter `-c` and subsequent indication of the config file in question. For one example of application, see the setup of [ABIN](https://github.com/PHOTOX/ABIN/blob/master/.fprettify.rc).
0 commit comments