Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit a463351

Browse files
authoredJun 21, 2024··
feat: add rustfmt tool (#3139)
1 parent 2644bd7 commit a463351

File tree

358 files changed

+875
-1757
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

358 files changed

+875
-1757
lines changed
 

‎.github/workflows/prettier.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
- name: Run prettier
3030
run: |
3131
git config --global core.quotepath off
32-
changed_files=$(git diff --name-only "${{ github.event.pull_request.base.sha }}" | grep -E '\.js$|\.ts$|\.php$|\.sql$|\.rs$|\.md$' || true)
32+
changed_files=$(git diff --name-only "${{ github.event.pull_request.base.sha }}" | grep -E '\.js$|\.ts$|\.php$|\.sql$|\.md$' || true)
3333
if [ -n "$changed_files" ]; then
3434
echo "Running prettier on the changed files"
3535
echo "$changed_files" | xargs -d '\n' npx prettier --write

‎.prettierrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,5 @@
1717
"options": { "parser": "mysql" }
1818
}
1919
],
20-
"plugins": ["prettier-plugin-rust", "prettier-plugin-sql-cst", "@prettier/plugin-php"]
20+
"plugins": ["prettier-plugin-sql-cst", "@prettier/plugin-php"]
2121
}

0 commit comments

Comments
 (0)
Please sign in to comment.