Add option to enforce certain line endings (#5327)
This commit is contained in:
1 parent
40f46740f6
commit
b87fe4cf22
34 files changed
+556
-32
No files matched your search
@@ -51,6 +51,7 @@ prettier.resolveConfig(filePath).then(options => {
|
||||
|
||||
If `options.editorconfig` is `true` and an [`.editorconfig` file](http://editorconfig.org/) is in your project, Prettier will parse it and convert its properties to the corresponding prettier configuration. This configuration will be overridden by `.prettierrc`, etc. Currently, the following EditorConfig properties are supported:
|
||||
|
||||
- `end_of_line`
|
||||
- `indent_style`
|
||||
- `indent_size`/`tab_width`
|
||||
- `max_line_length`
|
||||
|
||||
Reference in new issue
Block a user