-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add inputs for specifiable config (#9)
- Loading branch information
Showing
4 changed files
with
41 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -38,6 +38,20 @@ To use a specific version, specify that with the `dprint-version` input: | |
dprint-version: 0.30.3 | ||
``` | ||
|
||
### Config Path | ||
|
||
By default, `dprint/check` uses the `dprint.json`. | ||
|
||
### Specific Config | ||
|
||
To use a specific config, specify that with the `config-path` input: | ||
|
||
```yml | ||
- uses: dprint/[email protected] | ||
with: | ||
config-path: dprint-ci.json | ||
``` | ||
|
||
## Troubleshooting | ||
|
||
### Windows line endings | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"includes": ["**/*.{md,json}"], | ||
"plugins": [ | ||
"https://plugins.dprint.dev/json-0.15.3.wasm", | ||
"https://plugins.dprint.dev/markdown-0.13.3.wasm" | ||
] | ||
} |