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
*Please note:* The auto-discovery of config files (up the file tree) will not work when using prettier within spotless,
314
+
Supported config file types are the ones supported by [tsfmt config options](https://github.com/vvakame/typescript-formatter/blob/7764258ad42ac65071399840d1b8701868510ca7/lib/index.ts#L26).
315
+
Use the option names of type boolean in the tsfmt config object: `tsconfig`, `tslint`, `editorconfig`, `vscode` or `tsfmt`. For the option `editorconfig`, no path is supported.
316
+
317
+
*Please note:*
318
+
- The auto-discovery of config files (up the file tree) will not work when using prettier within spotless,
315
319
hence you are required to provide absolute file paths for config files.
320
+
- The config file type `editorconfig` is only read from its default location (the user'home).
321
+
Any value you pass for the path will be ignored.
316
322
317
323
... or alternatively provide the configuration inline ...
318
324
@@ -387,7 +393,7 @@ spotless {
387
393
```
388
394
389
395
Supported config file variants are documented on [prettier.io](https://prettier.io/docs/en/configuration.html).
390
-
Please note:
396
+
*Please note:*
391
397
- The auto-discovery of config files (up the file tree) will not work when using prettier within spotless.
392
398
- Prettier's override syntax is not supported when using prettier within spotless.
0 commit comments