forked from project-chip/connectedhomeip
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixing restyled to ignore third_party (project-chip#392)
Note: Anush verbally approved to this, but was not at a computer, merging this in now so we can have restyled work properly for @turon * Trying this better exclude path * Trying to add spaces to test * Next shot * Trying ordering... * Fixing restyled config (sigh, naming) * Testing this restyle config * Complains about prettier json * Switching to jq, for some reason the CLI picks up prettier json, but not the live version * Trying this... * Turning on auto... * Auto won't work for us, fork'd PRs dont' provide push for apps * Restyled by prettier-markdown * Adding default formatters Co-authored-by: Restyled.io <[email protected]>
- Loading branch information
1 parent
1d24a7b
commit 0c46b2e
Showing
6 changed files
with
127 additions
and
67 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 |
---|---|---|
@@ -0,0 +1,83 @@ | ||
# Do anything at all | ||
enabled: true | ||
|
||
# Push the style fixes directly to the original PR | ||
auto: false | ||
|
||
# Open Restyle PRs? | ||
pull_requests: true | ||
|
||
# Add labels to any created Restyle PRs | ||
labels: | ||
- restyled | ||
|
||
# Labels to ignore | ||
ignore_labels: | ||
- restyled-ignore | ||
|
||
# Leave comments on the original PR linking to the Restyle PR? | ||
comments: false | ||
|
||
# Request review on the Restyle PR | ||
request_review: none | ||
|
||
# Patterns to exclude from all Restylers | ||
exclude: | ||
- ".github/workflows/**/*" # https://github.com/restyled-io/restyler/issues/73 | ||
- "third_party/**/*" | ||
- "third_party/**" | ||
- "third_party/*" | ||
- "build/**/*" | ||
- "autom4te.cache/**/*" | ||
|
||
# Restylers to run, and how | ||
restylers: | ||
- name: clang-format | ||
enabled: true | ||
image: restyled/restyler-clang-format:v9.0.0 | ||
command: | ||
- clang-format | ||
- "-i" | ||
arguments: [] | ||
include: | ||
- "**/*.c" | ||
- "**/*.cc" | ||
- "**/*.cpp" | ||
- "**/*.cxx" | ||
- "**/*.c++" | ||
- "**/*.C" | ||
- "**/*.cs" | ||
- "**/*.h" | ||
- "**/*.hh" | ||
- "**/*.hpp" | ||
- "**/*.hxx" | ||
- "**/*.h++" | ||
- "**/*.H" | ||
- "**/*.java" | ||
- "**/*.js" | ||
- "**/*.m" | ||
interpreters: [] | ||
- name: jq | ||
enabled: true | ||
include: | ||
- "**/*.json" | ||
- name: prettier-markdown | ||
enabled: true | ||
include: | ||
- "**/*.md" | ||
- "**/*.markdown" | ||
- name: prettier-yaml | ||
enabled: true | ||
include: | ||
- "**/*.yml" | ||
- "**/*.yaml" | ||
- name: shellharden | ||
enabled: true | ||
include: | ||
- "**/*.sh" | ||
- "**/*.bash" | ||
- name: shfmt | ||
enabled: true | ||
include: | ||
- "**/*.sh" | ||
- "**/*.bash" |
This file was deleted.
Oops, something went wrong.
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
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