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
This fixes#42.
It adds support for .editorconfig's `indent_style`, `indent_size`, `tab_width`,
and `max_line_length` properties.
It doesn't support the `end_of_line` property as described in
#42 (comment),
but that could be added later. The same goes for `quote_type`
(prettier/prettier-atom#293 (comment)).
* Make test .prettierrc not set config for all file extensions
This makes it easier to keep tests isolated.
Copy file name to clipboardExpand all lines: docs/configuration.md
+8Lines changed: 8 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -83,3 +83,11 @@ For more information on how to use the CLI to locate a file, see the [CLI](cli.m
83
83
## Configuration Schema
84
84
85
85
If you'd like a JSON schema to validate your configuration, one is available here: http://json.schemastore.org/prettierrc.
86
+
87
+
## EditorConfig
88
+
89
+
If 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:
0 commit comments