Skip to content

Commit c1198cc

Browse files
author
sam bacha
authored
docs(readme): printWidth documentation
1 parent 8da457e commit c1198cc

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,12 @@ This configuration is optimized to reduce **diff churn** and improve AST results
5353
The following rules are employed, with specific reasonings to their choice (source: airbnb style
5454
guide):
5555

56+
## `printWidth`
57+
58+
The behavior of `printWidth` is located here: [prettier-solidity/prettier-plugin-solidity/blob/b504261047d0019c924d53a2b9ab0738b1e05703/src/nodes/FunctionDefinition.js#L99](https://github.com/prettier-solidity/prettier-plugin-solidity/blob/b504261047d0019c924d53a2b9ab0738b1e05703/src/nodes/FunctionDefinition.js#L99)
59+
60+
See more here [prettier-plugin-solidity/issues/474#issuecomment-823670541](https://github.com/prettier-solidity/prettier-plugin-solidity/issues/474#issuecomment-823670541)
61+
5662
### whitespace
5763

5864
[source@airbnb/javascript#whitespace--in-braces](https://github.com/airbnb/javascript#whitespace--in-braces)

0 commit comments

Comments
 (0)